HTTP Query string

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
dpankowski
Profound User
Posts: 35
Joined: Fri Jul 12, 2013 12:58 pm
First Name: Dan
Last Name: Pankowski
Company Name: Sinclair Services
Phone: 8015242956
Address 1: 550 E South Temple
City: Salt Lake City
State / Province: Utah
Zip / Postal Code: 84102
Country: United States
Contact:

HTTP Query string

Post 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.
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: HTTP Query string

Post 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
dpankowski
Profound User
Posts: 35
Joined: Fri Jul 12, 2013 12:58 pm
First Name: Dan
Last Name: Pankowski
Company Name: Sinclair Services
Phone: 8015242956
Address 1: 550 E South Temple
City: Salt Lake City
State / Province: Utah
Zip / Postal Code: 84102
Country: United States
Contact:

Re: HTTP Query string

Post by dpankowski »

Thanks that'll work. Guess I should read the docs first.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests