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, 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)?
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,
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!
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?
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.
Here the example, i've also added the JSDO...
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...