- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā10-09-2024 10:15 PM
I have a Form of Request for which has 4 views out of which for 2 Particular views I want to make a section's all 3 fields to be Read-only for all users/roles, on these two views. How should I approach this
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā10-10-2024 12:02 AM
Hi @Niletor ,
You can create UI Policy on Specific View - For that you have to uncheck Global check box and in the View field, provide View name(Example - Service Portal) then your UI policy will only applicable for selected view. And create UI Policy Action to set your field as ReadOnly.
Please find few images for this -
Output -
Mark Correct if this solves your issue and also mark
Helpful if you find my response worthy based on the impact.
Regards
Moin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā10-10-2024 06:29 AM - edited ā10-10-2024 06:33 AM
Same way as we are hiding fields in above post, We can Hide Form Section.
Only 1 step we need to change It-
For field we use UI Policy Action to hide, mandatory or visible field, but in case of form section we will use UI Policy script and you can write below code under it to Hide Section -
Before UI Policy -
Output: After UI Policy Applied -