Hide and show fields on form based on roles

Renu9
Tera Contributor

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

7 REPLIES 7

Jitendra Diwak1
Kilo Sage

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

 

Please accept my solution if it works for and thumps up.

Hi @Jitendra Diwak1 

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

 

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

Please accept my solution if it works for and thumps up.

dpac_nick
Tera Contributor

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.

If this works for you, please mark my answer correct or helpful.