Initial program for Launch

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
leomoore
Profound User
Posts: 35
Joined: Thu Mar 15, 2012 3:42 pm
First Name: Robert
Last Name: Moore
Company Name: General Parts Company
Phone: 770-818-4736
Address 1: 3100 Windy Hill Rd.
City: Atlanta
State / Province: Georgia
Zip / Postal Code: 30339
Country: United States
Contact:

Initial program for Launch

Post by leomoore »

Is there a way to pass a parameter or two to the initial program used when launching a session to test a new screen in Profound UI Visual Designer? It would be useful to have a single CL program to which the program and program lib are passed as parameters for testing.
User avatar
Brian
Profound Logic Staff Member
Posts: 286
Joined: Thu Apr 14, 2011 10:23 am
First Name: Brian
Last Name: May
Company Name: Profound Logic Software
Contact:

Re: Initial program for Launch

Post by Brian »

Just realized that this topic was migrated to our new documentation site. I have added this topic and it can be found here http://www.profoundlogic.com/docs/displ ... g+Programs .
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

Re: Initial program for Launch

Post by David »

This capability is only available when launching an anonymous session, or if using HTTP authentication, for some technical reasons.

It will not work if launching signed in sessions through the PUI sign on display.

However, in this case, you could simply create a simple program that accepts the library and program name to call on a screen and then run that as your initial program. This program could then call whatever you enter on the screen.
graham.arnold
New User
Posts: 1
Joined: Mon Mar 19, 2012 9:19 am
First Name: Graham
Last Name: Arnold
Company Name: Pacific Solutions Ltd
Contact:

Re: Initial program for Launch

Post by graham.arnold »

David/Brian - I've tried both methods mentioned in that document and cannot get any parameters passed at all. When I check job log for the PROFOUNDUI job on the AS400 I can see the program being called BUT no parameters are passed so it fails. Do you have a sample URL that works?
Thanks
Graham
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

Re: Initial program for Launch

Post by David »

Either URL from the above link will work.

Are you signing on through the PUI sign on panel? Passing parameters to the initial program is not supported when launching the session in this way.
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests