Custom PUISCREENS for Phonegap

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
negley
Profound User
Posts: 45
Joined: Tue Mar 11, 2014 2:50 pm
First Name: William
Last Name: Negley
Company Name: Utz Quality Foods
Contact:

Custom PUISCREENS for Phonegap

Post 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
Scott Klement
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: Custom PUISCREENS for Phonegap

Post 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.
negley
Profound User
Posts: 45
Joined: Tue Mar 11, 2014 2:50 pm
First Name: William
Last Name: Negley
Company Name: Utz Quality Foods
Contact:

Re: Custom PUISCREENS for Phonegap

Post 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
Scott Klement
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: Custom PUISCREENS for Phonegap

Post 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.
Scott Klement
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: Custom PUISCREENS for Phonegap

Post 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?
negley
Profound User
Posts: 45
Joined: Tue Mar 11, 2014 2:50 pm
First Name: William
Last Name: Negley
Company Name: Utz Quality Foods
Contact:

Re: Custom PUISCREENS for Phonegap

Post 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
Scott Klement
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: Custom PUISCREENS for Phonegap

Post 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?
negley
Profound User
Posts: 45
Joined: Tue Mar 11, 2014 2:50 pm
First Name: William
Last Name: Negley
Company Name: Utz Quality Foods
Contact:

Re: Custom PUISCREENS for Phonegap

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests