Field no Editable

Romualdo Mendes
Tera Contributor

How can I create a policy for a field not to be editable on my form?

2 REPLIES 2

BharathChintala
Mega Sage

@Romualdo Mendes  to do this you should have admin role.

 

for example I am in incident form and want to make channel field read only(not editable)

BharathChintala_0-1691608766522.png

Type UI policies in Navigation click under System UI

BharathChintala_1-1691608816811.png

Click new on right top

BharathChintala_2-1691608867950.png

Select table as Incident

BharathChintala_3-1691609027330.png

Give any short description

Global checked will run ui policy on all views. If you want to run it only on any particular view you can uncheck global and give view name.

You can give condition like I gave when Priority 1 is selected then making channel read only.

If you want run ui policy for opposite condition check reverse if false.

Click submit and open created UI policy from list view again.

 

in related list of UI policy actions click new

BharathChintala_0-1691609347505.png

click field name and select which field you want to make not editable

BharathChintala_1-1691609435772.png

Keep read only true and submit

BharathChintala_2-1691609482813.png

Now when priority set to 1 channel will become not editable.

 

Note: you can add more UI policy actions under one policy. If you want to hide or mandate or not editable fields based on same conditions.

 

For different conditions different ui policies.

 

 

If my inputs have helped with your question, please mark my answer as accepted solution, and give a thumb up.
Bharath Chintala

AndersBGS
Tera Patron
Tera Patron

Hi @Romualdo Mendes 

 

Can you provide some more context? Should it be editable some times or never? If it should be some times, what should trigger if the field should be editable or not?

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.

 

Best regards

Anders

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/