- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2020 08:49 AM
Firstly, I created a table and some fields. Such as: table: table1,field1: title(String), field2: body(String), field3: file(File Attachment).... And the type of field3 is File Attachment.
Secondly, I wanted to create a UI policy that sets the field1 and field3 read-only when certain conditions are met. So I used UI Policy Action to set up these two fields. After setting, the field1 is read-only , but field3 is not read-only.
Why? And how to set field3 to read only in UI Policy?
Please help, Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2020 09:03 AM
Hi Mike,
setting read-only won't work for field of type File Attachment
So the only way forward is to have created individual field level WRITE ACL on that field and give the condition
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2020 08:57 AM
you can configure field ACL to make attachment field type read only.
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2020 03:27 AM
thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2020 09:03 AM
Hi Mike,
setting read-only won't work for field of type File Attachment
So the only way forward is to have created individual field level WRITE ACL on that field and give the condition
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2020 03:27 AM
Thank you!