Hide and show fields on form based on roles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2024 11:06 PM
Hi All,
im having a requirement where on the form im having state and assigned to fields
these 2 fields should not be visible to the contact but it has to be visible for fulfillers (assignment group)
please help me how i can achieve it
Both in portal and platform it should behave the same
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2024 11:14 PM
Hi @Renu9,
You could write the below UI Policy, in this UI Policy you can write the condition contact is true(this can be in your field). then create the UI Policy action below related list. state is visible false and assigned_to is visible false.
Please accept my solution if it works for you and thumps up.
Thanks
Jitendra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2024 11:17 PM
here contact will always be on the form.
contact is the normal user who raises the request
they dont want to see with whom the request/ticket is assigned and state. So we want to hide those fields if logged in user is a contact
if logged in user is fulfiller then they can see all fields
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2024 11:47 PM
Hi @Renu9,
What is ment by contact and fulfiller. Could you please explain more like any role they are having or anyother parameter to identify this,
Thanks
Jitendra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2024 11:55 PM
Hi @Renu9 for this requirement you need to create table.field acls for operation read and select the roles required for respective user to make it visible.