Page 1 of 1

Custom PUISCREENS for Phonegap

Posted: Mon Aug 11, 2014 11:23 am
by negley
Is their a way to customize a PUISCREENS and use it only for a specific phone gap app?

I am trying to create a unique login page for a mobile app, but i don't want to use it on all mobile apps.

-Bill

Re: Custom PUISCREENS for Phonegap

Posted: Mon Aug 11, 2014 12:56 pm
by Scott Klement
No, sorry... The PUISCREENS member will always be the same for all apps. You could potentially put JavaScript code inside it to change things on the screen depending on your own criteria, but... aside from that, it's always the same.

One possible workaround is to install another instance of Profound UI on a different port. You could have a different version of PUISCREENS on that instance, and only use it for one app if you wanted.

Re: Custom PUISCREENS for Phonegap

Posted: Mon Aug 11, 2014 1:48 pm
by negley
Would it be possible to create a new login program that would replicate the existing one? I could alter the runtime.js in phonegapthat starts the process and redirect it to my new program/screen. What program is used create the login screen? Do we have access to the source of that program? Is this going too deep into it?

-Bill

Re: Custom PUISCREENS for Phonegap

Posted: Mon Aug 11, 2014 1:53 pm
by Scott Klement
I'm sorry, we do not provide the source code for that program. Even if I told you how to write one, it wouldn't help, as Profound UI would not know to call it.

Can you list your requirements of why you want a separate sign-on for this app? (Details, please.) Maybe we can find a different way to make this work.

Re: Custom PUISCREENS for Phonegap

Posted: Mon Aug 11, 2014 1:56 pm
by Scott Klement
One possibility might be to call an anonymous program (i.e. skip the sign-on altogether). Then have the initial program that's called by the app implement it's own sign-on screens, etc. This would certainly make it possible to do what you're asking for.

Another thing that maybe you haven't thought of is that you can use browser authentication instead of PUISCREENS for the sign-on. I don't know if that would be a better option for you?

Re: Custom PUISCREENS for Phonegap

Posted: Mon Aug 11, 2014 2:00 pm
by negley
I was planning on generating a list of logins that a user could pick from a drop down list/grid for some of my mobile applications. They are used in a warehouse model, multiple people using the same login name for a area.

My hope was to generate a phone gap app that would utilize its own login screen. This would speed up efficiency/accuracy of logins.

I am confident i could do use javascript to modify the screens as i please. I was hoping for a better, easier to maintain way.

-Bill

Re: Custom PUISCREENS for Phonegap

Posted: Mon Aug 11, 2014 2:14 pm
by Scott Klement
Yes, that sounds like it'd be easy to do by changing the SSUSER (User ID) field in the SIGNONSCRN format of the PUISCREENS display.

You brought up a concern that this might be more difficult to maintain. Can you explain why you think that?

Re: Custom PUISCREENS for Phonegap

Posted: Mon Aug 11, 2014 5:14 pm
by negley
It would require less of a skill set to edit later if i was able to make a display/rpg program. However, I feel confident that i can create a dynamic system with javascript to fulfill my needs. Thanks for the suggestions/comments.

-Bill