Page 1 of 1
Initial program for Launch
Posted: Tue Mar 27, 2012 4:00 pm
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.
Re: Initial program for Launch
Posted: Thu Mar 29, 2012 9:35 am
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 .
Re: Initial program for Launch
Posted: Thu Mar 29, 2012 1:18 pm
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.
Re: Initial program for Launch
Posted: Wed Apr 11, 2012 7:19 am
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
Re: Initial program for Launch
Posted: Wed Apr 11, 2012 2:37 pm
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.