
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2017 03:04 AM
Hi All,
I am required to make a field named "Location" as read only on the sc_request form.
For which, I have written the UI policy on the form and also the onLoad Client Script , none of which is making the field Read Only.
Can you please help me out to make this field Read only.
Thanks
Solved! Go to Solution.
- Labels:
-
Service Catalog

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2017 10:32 PM
Hi Siddharta,
After the checking the "Read only" check box in the dictionary override below "Override read only" . I am able to make the location field read only for the sc_request table.
i hope this would not make the filed read only globally.
Thanks Shraddha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2017 03:16 AM
can you please deactivate the UI policy first which you created for this and share the client script for making the field read only?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2017 03:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2017 03:29 AM
is should be g_form.setReadOnly('location',true);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2017 03:31 AM
g_form.setReadOnly('location',true);
and you using setReadonly.
let me know if that works; else we can debug and sort it out