
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2018 11:37 PM
Dear Folks,
We want to make all the variables of the form as read only after submitting the service.
Please help me to achieve the same.
thanks & Regards,
Ankit Kumar
Solved! Go to Solution.
- Labels:
-
Field Service Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2018 05:32 AM
Hello ,
You can use catalog ui policy to make variable read only and also you can use client script
code:
g_form.setVariablesReadOnly(true);
Please mark it as correct or like if it correct
Regards ,
Sindhu B

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2018 11:42 PM
This is an undocumented function but we use this to set all the variables to readonly - g_form.setVariablesReadOnly(true);

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2018 11:45 PM
I am not sure if that works on portal but if that doesn't, then this link should help you
https://community.servicenow.com/community?id=community_question&sys_id=47204761db98dbc01dcaf3231f9619c3

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2018 03:54 AM
Is there any generic option which we can enable for all the maintain items, so that every service forms will be read only after we submitted the request.
Thanks & regards,
Ankit

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2018 05:32 AM