A
Anil Kumar
Guest
Hi Bal, The functionality of Portal User and Portal Guest is standard behavior which is available for Rollbase web applications and we have enhanced the same support for Rollbase Mobile applications in 3.1 release. Portal Users : Assigned to authenticated users of external-facing Portals. On the same lines for Rollbase Mobile, one can associate specific authentication in the ‘Edit Mobile Application’ page. i.e., this edit mobile app page will show set of objects which possess Portal User attribute under Authentication Details category. Portal Guest : Assigned to non-authenticated users of external-facing Portals. Unlike Portal users, Portal Guests cannot log into a portal. Portal Guests can only access a public portal page. This deal with Anonymous support/access for the mobile applications. i.e., if we want to create a new mobile application whose data needs to be accessed without any credentials we can access the same by checking ‘Anonymous’ option in the ‘Edit Mobile Application’ page. Note : There is change in naming conventions with respect to Portal attributes in 3.1. i.e., ‘Portal Visitor’ prior 3.1 is renamed to ‘Portal User’ in 3.1 and ‘Non-authenticated Portal User’ prior 3.1 is renamed to ‘Portal Guest’ in 3.1. Steps to enable Portal User support against a mobile application : 1) Launch and login to Rollbase environment in a browser 2) Create a new Rollbase web application (say RB_for_Portal) along with an object (myPortalObj) 3) Edit the application and associate 'Portal User' attribute for the portal object 4) Add Login Name, Password attributes to the 'New myPortalObj1' page by editing the same page 5) Perform Save & Synchronize operation and make sure that the fields got added properly to portal page 6) Add a record (with which we can access the mobile). Say testportal as username and testportal as password 7) Now create a new mobile application by selecting 'From Scratch' operation 8) Add a new object (say newMobObj) to the same mobile app 9) Edit the mobile app and select 'myPortalObj' as the authentication type. Also, export 'All newMobObjs' view and save the mobile app 10) Click on Test button and provide portal and provide portal user credentials (testportal, testportal) Steps to enable Anonymous (Portal Guest) support against a mobile application : 1) Launch and login to Rollbase environment in a browser 2) Create a new Rollbase web application (say RB_for_Anon_Portal) along with an object (my_Obj) 3) Edit the object 'myObj' and provide all permissions (Create, View, Edit, Delete) under ‘Permissions’ section associated with role ‘Portal Guest' and save object 4) Create a new mobile application by selecting above created web application 5) Make sure that the mobile app got created properly. Navigate to Mobile App Builder by clicking on Design button 6) Modify the ' authenticationModel ' attribute to Anonymous in appconfig.js file located under Javascript section in Mobile App Builder [By default this value is FORM] 7) Design app such that it will bring the data from Rollbase (using getVIew_All JSDO service) 8) Test the mobile application. Do not provide any credentials in the Login page and click on Login button in the Emulator. Make sure that the login is successful. Also, make sure that the data is shown properly in the mobile emulator. Following are few references on working with Portals: http://documentation.progress.com/output/Rollbase/index.html#page/rb/creating-portals-with-authentication.html http://documentation.progress.com/output/Rollbase/index.html#page/rb/creating-portals-without-authentication.html Additional information on mobile app editing for setting up authentication details : http://documentation.progress.com/output/Rollbase/index.html#page/rb/editing-rollbase-mobile-app-projects.html# Thanks and Regards, Anil Kumar. From: bal [mailto:bounce-bal@community.progress.com] Sent: Wednesday, December 24, 2014 2:18 PM To: TU.Rollbase@community.progress.com Subject: RE: [Technical Users - Rollbase] Private Cloud: Progress Mobile RE: Private Cloud: Progress Mobile Reply by bal hi Anil, Sounds great! Could you please explain the difference between the portal visitor/user? Where can we configure the portal user with Rollbase Mobile? Is it true that we can create the portal users in Rollbase and the mobile users can use these logins to access the environement? Stop receiving emails on this subject. Flag this post as spam/abuse.
Continue reading...
Continue reading...