Dictionary Override
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2024 01:42 AM
Hi All,
I have a requirement- 'On the incident form, users should only be able to select active locations, however, they should be able to change the filter to all locations if they need to actually select an inactive location.'
I have configure the dictionary override on incident table for Location field and added the reference qualifier as 'active=true'; Even though users are able to see the all the locations including the inactive locations as well.
Also, they should have an option to change the filter to select the inactive locations if they need. How can we fulfill the requirement?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2024 03:26 AM
Hello @Rooma1
Please try below code
var gr = new GlideRecord("cmn_location");
gr.addQuery('u_active',true);
gr.query();
If my response helped you in any way, please mark helpful/accepted.