How do I make the Folder Field read only in Policy Text for cloud Integration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2025 11:29 PM
We've successfully set up the OneDrive integration, but I'm currently facing a challenge: I need to make the folder selection modal read-only so users can't change the default folder.
In the first screenshot below, when navigating to "Enable document editing" > "Create new document", the folder location is correctly populated from the property. However, users are still able to modify it. My requirement is to make this field read-only.
In the second screenshot, which shows the "Upload a document" flow, I need to ensure the folder is set to GRC and again, cannot be changed by the user.
I've explored the UI Builder and believe I've located the modal on the Policy Text page—but I haven't been able to edit it successfully.
Has anyone managed to achieve this or know how to make the folder field read-only in these modals? Any guidance would be greatly appreciated.
- Labels:
-
Policy and Compliance Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2025 05:52 AM
and do you know where that field was set as mandatory? try onLoad client script to make it read only
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2025 06:18 AM
No idea where it is set. As per my post I have found the modal but cannot edit it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2025 06:25 AM
@Stev Williams1 do you use SNUtils?
If so, you can search for all the codes that contain that field. Use slashcommand "/code folder_location" and press enter. (assuming that the field is called "folder_location"....)
SNUtils is a browser extension available for most of the browsers, for more info go to: arnoudkooi . com (creator's website) or their LinkedIn.
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2025 01:42 AM
ServiceNow helped and I found the answer. It is located in the GRC Workspace experience where you will find the various pages such as "upload a file" and "create document" from there you can set them to read only.
Updated for others should they have the same issues finding it.