The Zurich release has arrived! Interested in new features and functionalities? Click here for more

How do I make the Folder Field read only in Policy Text for cloud Integration

Stev Williams1
Tera Guru

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.

StevWilliams1_0-1754720190640.png

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.

 

StevWilliams1_5-1754720917382.png

 

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.

StevWilliams1_3-1754720519288.png

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.

4 REPLIES 4

GlideFather
Tera Patron

Hi @Stev Williams1 

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! */


No idea where it is set.  As per my post I have found the modal but cannot edit it.  

@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! */


Stev Williams1
Tera Guru

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.