Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 13 JAN 2012 02:15:46PM Jim Leong wrote:

I have a simple 04W form for tracking a shipment, consisting of 1 search criteria. Is it possible to pass this tracking number on to the 04W form and perhaps force it to click the Search Button and perform the search.

Here is the CGI request.

http://www.mywebsite.com/aim/oecgi3.exe/O4W_RUN_FORM?INQID=PARSCHECK#/section/breadcrumb/UPDATETABLE/Display[/b] If the tracking number is 12345, How can I pass the number to the form? </QUOTE> —- === At 13 JAN 2012 03:16PM bshumsky wrote: === <QUOTE> <QUOTE>I have a simple 04W form for tracking a shipment, consisting of 1 search criteria. Is it possible to pass this tracking number on to the 04W form and perhaps force it to click the Search Button and perform the search. Here is the CGI request. http://www.mywebsite.com/aim/oecgi3.exe/O4W_RUN_FORM?INQID=PARSCHECK#/section/breadcrumb/UPDATETABLE/Display[/b] If the tracking number is 12345, How can I pass the number to the form?</QUOTE> Hi, Jim. If this value is the key, and you defined the form as allowing for key entry (or key and search), then you can pass it in by adding "&KEY=<value>" to the URL - something like this: http://www.mywebsite.com/aim/oecgi3.exe/O4W_RUN_FORM?INQID=PARSCHECK&KEY=12345[/b] If this value isn't the key, and instead you want O4W to search for it, then you would pass it in by adding "&SEARCH=1" to the URL, along with the search value and an indicator of _which_ field you want to search. The "SEARCH=1" flag tells O4W that you're going to jump right to the search process, but you still have to say what you want to search. When you defined the form, you could specify multiple fields for searching; you must say which one of those fields (based on the order in which they are displayed) this value applies to. SEARCH_1 is the name of the first search value; SEARCH_2 is the second; etc. So, if you wanted to provide 12345 as the value to search for the first search prompt, you'd have the following URL: http://www.mywebsite.com/aim/oecgi3.exe/O4W_RUN_FORM?INQID=PARSCHECK&SEARCH_1=12345&SEARCH=1[/b] - Bryan Shumsky Revelation Software, Inc. </QUOTE> —- === At 14 JAN 2012 02:08PM Jim Leong wrote: === <QUOTE>Works Great!! Thanks Bryan </QUOTE> —- === At 14 JAN 2012 04:30PM Jim Leong wrote: === <QUOTE>I am planing to send this link and other text to drivers by a sms text message. If they have a smart phone, they can click on the link and it will open the form in their phone browser. Unfortunately a sms message has a maximum of 160 characters. I need a way of shortening this url. Is there a html tricks so I can pass a variable from the url and then be able to read or use the variable from the htm script. (similar to the %1 %2 ..etc when calling a dos bat file.) For example www.mywebsite.com[b]?Variable=12345 –> calls start.htm start.htm = http://www.mywebsite.com/aim/oecgi3.exe/O4W_RUN_FORM?INQID=PARSCHECK&SEARCH_1=[b]%variable1[/b]&SEARCH=1 </QUOTE> —- === At 14 JAN 2012 08:14PM cborne wrote: === <QUOTE>Jim, You could use tiny url's api… Tiny API. Would turn http://www.mywebsite.com/aim/oecgi3.exe/O4W_RUN_FORM?INQID=PARSCHECK&SEARCH_1=12345&SEARCH=1 Into http://tiny.cc/oxkml </QUOTE> View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/ddf0f8a60004b395bb2384000.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1