Configurations for Mobile via Page Designer¶
All configurations are done via the use of IFS Cloud Web Page Designer. Configurations in the mobile app can only done by an Admin user on IFS Cloud.
Adding a Custom Attribute¶
- Follow the instructions to setup Custom Attribute for Entity
-
Ensure that the Entity is Approved, Published and Synchronized and the Attribute also is Approved and Published.
-
Go to Entity Details to publish the entity attributes for the mobile app by going to Solution Manager > Mobile Apps > Configuration > Entity Details.
-
Filter by Mobile app name, and then by the Entity name.
-
Under the Attributes table, use "Add Custom Attributes" button to select the newly created attribute.
-
Now "Publish Custom Attributes".
-
To configure the app to view this new custom attribute, use Page Designer to update the mobile app.
-
Solution Manager > Mobile Apps > Configuration > Apps for Page Designer > [Select the app to update] and go to the detail view for that entity.
-
Open up the view in page designer & update the view to include the new field.
-
Save & Publish Page Designer changes.
-
The mobile client needs to be reinitialized if already logged in, to see the new field changes.
Troubleshooting: If the custom field is not visible, Refresh MobileApplication Cache to force refresh the cache (Solution Manager > System Information and Utilities > Refresh Server Cache)
Setting Conditional Visibility, Editability and Requiredness¶
Users can set Conditional Visibility, Editability and Requiredness on fields on mobile screens by following the same process as with Conditional Fields. Refer Conditional Fields for more details.
As of 23R2, this functionality is supported for the most common field types such as Text, Number and BLOB/CLOB fields. Custom Fields of type Text, Number and Date are also supported. Other field types have limited support on 23R2.
Filtering of LoV and Enumerations¶
Users can filter LoV and Enumeration fields on mobile screens by following the same process as with Conditional LoV and Enumeration Filtering.
For LoV filtering, refer Filter LOV's conditionally for more details.
For Enumeration filtering, refer Filter Enumeration Values Conditionally for more details.
As of 23R2, LoV filtering supports the following OData expressions: startswith
, endswith
, contains
.
Adding a Custom Action¶
-
Open Page Designer for the mobile app by going to Mobile Apps > Configuration > Apps for Page Designer > [App Name].
-
Navigate to a page, and add a command by clicking (+) on the Command group section.
-
Under Content for the page, find the Command Group section. Refer Adding Commands
-
Select command type and add a label for the command.
-
Save & Publish Page designer changes.
-
Initialize the mobile client.
-
Go to the page on the mobile app. User should be able to navigate to the new page via the command button.
Note: Custom Entities are not supported yet.
Adding a Page¶
Users can create a new page to an existing projection.
-
Open Page Designer for the mobile app by going to Mobile Apps > Configuration > Apps for Page Designer > [App Name].
-
Add a new page and update the layout.
-
Save & Publish and close Page Designer.
-
Now that the page is created, the app needs to be able to navigate to it.
Update Navigator entries on the Mobile app¶
Users can navigate to a page via a navigator entry or via a command
To navigate to the page via navigator entry:
1. Open Navigator Designer and navigate to Mobile Apps > Configuration > Apps for Page Designer > [App Name]
2. Create a new navigator entry of type Page for an existing page or new page.
3. Save & Publish navigator changes.
4. Initialize the mobile client.
5. User should be able to navigate to the added page.
To navigate to the page via a command:
1. Go to an existing page on Page Designer.
2. Add a command to the command group section on the page.
3. Add a new navigationLink command.
4. Select the (new) page to navigate to.
5. Save & Publish Page designer changes.
6. Initialize the mobile client.
7. Go to the existing page. User should be able to navigate to the added page via the command button.
Using the Navigator Designer, users can also remove a navigator entry or update navigator entries on the dashboard.