Page 1 of 1

HTTP Query string

Posted: Thu Aug 22, 2013 12:57 pm
by dpankowski
In profoundui is there anyway to get the query string from http environment?

We have a benefits web page and want to pass an employee number and session id to an anonymous profoundui application that will be displayed in a frame.

Re: HTTP Query string

Posted: Thu Aug 22, 2013 1:21 pm
by Scott Klement
We have special query string options that will be passed as parameters to the RPG program, these might work well for your situation.

For example, when calling an anonymous program, you can do:

Code: Select all

http://example.com/profoundui/start?pgm=LIB/PGM&p1=DataForParm1&l1=LengthofParm1
The RPG program will get 'DataForParm1' in it's first parameter. (Use a PI or *ENTRY plist to get it.)

More info here:
http://www.profoundlogic.com/docs/displ ... +Interface

Re: HTTP Query string

Posted: Thu Aug 22, 2013 6:02 pm
by dpankowski
Thanks that'll work. Guess I should read the docs first.