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.
HTTP Query string
-
- 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:
-
- 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
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:
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
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
More info here:
http://www.profoundlogic.com/docs/displ ... +Interface
-
- 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
Thanks that'll work. Guess I should read the docs first.
Who is online
Users browsing this forum: No registered users and 3 guests