When using the pui.start() function in JS, the users assigned initial program is called after signin. Would it be possible to redirect everyone to be redirect to the same initial program?
I am creating a phone gap app and use the pui.start() to kick off the program. I would like to use the mobile initial program if possible.
Does pui.start() have any settings within the call?
-Bill
pui.start Initial Program
-
- Profound User
- Posts: 45
- Joined: Tue Mar 11, 2014 2:50 pm
- First Name: William
- Last Name: Negley
- Company Name: Utz Quality Foods
- 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: pui.start Initial Program
No, there are no settings for pui.start(). It always uses the user's "initial program" that you can set in the "Launch" menu of the designer.
If you want to use the initial mobile program, use pui.run like this:
Or if you want to pass one parameter to the initial mobile program (like the PUI mobile client does)
If you want to use the initial mobile program, use pui.run like this:
Code: Select all
pui.run({ "mobile": true });
Code: Select all
paramData = "data to pass as parameter goes here";
pui.run({ "mobile": true, "parameter": paramData });
Who is online
Users browsing this forum: No registered users and 3 guests