How to perform UI Policy on a Mobile Record screen segment field?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2024 12:19 PM
Hi,
I see how to hide or show fields on a mobile card based on data via UI rules on the card.
But I don't see a way to do that to fields on a Details screen embedded on a Record screen segment. I have several Screen fields that show in the Record screen segment and I want a few of them to be hidden if they are empty. And I want to be able to hide another based on the value of a different field in the screen. How do I do it?
Thanks.
- Labels:
-
Mobile app configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2024 07:22 AM
Hi @R Caz
I'm not sure whether you found the way or not.
In the sys_sg_ui_policy table you can create them there.
In mobile app builder if you go to All mobile records and then screen ui policy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2025 04:53 AM
Just want to share my simple case based on your input @newservicenowus - to maybe inspire/guide others.
1) First I created a new sys_sg_ui_policy record
2) Added a UI policy rule
And it worked like a charm
Screen UI policy
UI Policy Rule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2024 08:40 AM
Thanks newservicenowus for the information. I think that is what I was looking for. Unfortunately it's not working for my particular use case because the fields I'm looking to hide via the Screen UI Policy are on a table extended from the task table and the list is based on the sysapproval_approver table, and I can only dot-walk to task fields in the UI Policy Rule. But I think it would work if I wasn't dot-walking.
Thanks again.