Is it also possible to create mobile apps for portal pages? We want to create an app where the users are stored in an visitor object. Because we have seen - when creating a mobile app - that the login (as default) is related to the main USER login of rollbase. Is it possible to create a login for portal visitor, and how to achieve this?
It is not possible today to login to a mobile app as a portal visitor. We know this is a needed use case and are working on ways to support this in the future.
-Shelley
Shelley, thanks for the info. It is really a must have to interact with portal users with mobile. This will be great enhancement in the future!
Another question: We've noticed that the list is emtpy when clicking on create new -> Database services. Is this functionality available for private cloud users (normally it refers to: mobile.rollbase.com/database to create mobile databases)?
Hi,
A 'Database service' can be created against a database which was created in the Mobile App Builder. A new database can be created from the 'Mobile Applications Monitoring Dashboard' page which can be launched by invoking Push Notifications option in the Rollbase environment.
However, creating a new ‘Database service’ against a database created in Database tab (through Mobile Applications Monitoring Dashboard) is not supported usecase for the Rollbase Mobile. This scenario will bypass the Rollbase usage.
The Databases tab in the Mobile App Builder is only used for the Push Notifications usage in the Rollbase Mobile environment.
Thanks and Regards,
Anil Kumar.
Thanks Anil for your explemenation. We are busy to learn the possibilities of Rollbase Mobile, together with Rollbase. Do you have an example how to create a search on a Rollbase object with Mobile? Do we need to use the REST API to achieve this? Any example is appreciated. Thanks a lot!
Thanks Anil for your explemenation. We are busy to learn the possibilities of Rollbase Mobile, together with Rollbase. Do you have an example how to create a search on a Rollbase object with Mobile? Do we need to use the REST API to achieve this? Any example is appreciated. Thanks a lot!
Flag this post as spam/abuse.
Thnx, we'll have a look. Looks great!
I am able to show picklist values on mobile from an Rollbase object. But when this object has relationships to other objects (field Rxxxx), and I want to show these field values as a picklist, then the values are empty. I have added the objects allready as core objects when creating the mobile application. Any idea?
· Invoke a JSDO Service for Customer and on success:
· Invoke a Service to read the Customers (either just id and name with getAll_Customer or use the getView_All_Customer to get all fields)
· Map the fields you would like on the List to Labels/placeholders (Name and any other fields you want on the screen inside your list)
· Create a hidden field inside the list called CustomerId and map the ID field (from Customer) to this hidden field
· On Click of the List set a LocalStorageVariable that maps localCustomerId to the CustomerId Text (Bind to component)
· On Click (after the above) Navigate to your Order Page
· On Page-Show (or Load depending on single vs multi pages) invoke the Service OrderJSDO
· On Page-Show (or Load depending on single vs multi pages) invoke the Service rcustomer_getAll_R2233984
· On the service above Map localCustomerId (local storage variable) to the ID on the request
· Create a list and place a OrderName label and a hidden OrderID inside your list
· Map the GenericData from rcustomer_getAll_R2233984 response to the list Item (multiple records)
· Map Name to the label OrderName
· Map ID to the hidden label OrderID
· On Click of the OrderList set a LocalStorageVariable that maps localOrderId to the OrderID Text (Bind to component)
· On Click of the OrderList (after the above) invoke the Order_Read service and pass localOrderId (localStorageVariable) as the filter on the request
· Map the Order_Read fields from the response to you details on the screen
I am able to show picklist values on mobile from an Rollbase object. But when this object has relationships to other objects (field Rxxxx), and I want to show these field values as a picklist, then the values are empty. I have added the objects allready as core objects when creating the mobile application. Any idea?
Flag this post as spam/abuse.
Thanks Anil for the great example. This is usable when we jump to different pages. But what if we have a simple app within Rollbase with two objects: ObjectA and ObjectB and we have a one to many relationship. From objectA we have a "new" page where we can do a new registration. On this page we have also a relationship field (Rxxxxx) to another object (ObjectB) with some values. We do the registration within only one page. Now we want to achieve the same registration logic from our mobile app. We have created the fields, the picklists etc. Everything works fine, but we are not able to poputale the selectmenu list for the relationship field (Rxxxx). How can we put these values in this selectmenu list/pick list on mobile?
You would use the getAllB service to populate the existing set of B objects when filling the lookup field. Basically a getAll_R##### would be used when showing a current object (viewing) or when editing to show the current set of Bs that are related to A. During create/edit you may want to list out all Bs so that the user can add more Bs to the lookup field in A, which would be achieved by getAll_B.
A getAll_<object_integration_name> method is provided under all objects which are related to the primary object of the View exported.
Do get back if you still have doubts.
Regards,
Santosh
Thanks Anil & Santosh, it works! I did the configuration in _getAll_Rxxxx in stead of getAll_B
Is there an easy way to get the value of relation fields within Rollbase Mobile. Now we get the id in stead of the value. Normally we use R1234#value to get the value...
Shelley, thanks for the info. It is really a must have to interact with portal users with mobile. This will be great enhancement in the future!
Flag this post as spam/abuse.
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?
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)
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.
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?
Flag this post as spam/abuse.