How to perform UI Policy on a Mobile Record screen segment field?

R Caz
Tera Contributor

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.

3 REPLIES 3

newservicenowus
Tera Guru

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.

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

MichaelOJ_0-1736167937958.png

UI Policy Rule

MichaelOJ_1-1736167956131.png

 

 

R Caz
Tera Contributor

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.