- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-01-2020 04:58 AM
Hi All,
We have a glide_list type field on form custom table
Is it possible that the field will be always unlocked instead like this. Do we have to write a script to achieve this or do we have default attributes
Issue 2:
Once we select a record the value that is shown is as given below
Is it possible that the value displayed here can be a different field?
IT Compliance policy needs to be visible in the list field. how to achieve this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-01-2020 05:15 AM
Hi,
Responses below
1) Is it possible that the field will be always unlocked instead like this. Do we have to write a script to achieve this or do we have default attributes
a) You cannot unlock it without script and it would require DOM Manipulation
b) Use onLoad client script
c) Ensure Isolate Script field is set to false; This field is not on form but from list you can make it false
Sample Script: Ensure you use your table name and field name; I have used incident table and watch_list as field
function onLoad(){
$j(document).ready(function() {
alert('inside ready');
$j('incident.watch_list_unlock').click();
});
//Type appropriate comment here, and begin script below
}
2) Is it possible that the value displayed here can be a different field?
No - Once you select the record it would show only 1 value which is Display=true at your table level
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-01-2020 05:15 AM
Hi,
Responses below
1) Is it possible that the field will be always unlocked instead like this. Do we have to write a script to achieve this or do we have default attributes
a) You cannot unlock it without script and it would require DOM Manipulation
b) Use onLoad client script
c) Ensure Isolate Script field is set to false; This field is not on form but from list you can make it false
Sample Script: Ensure you use your table name and field name; I have used incident table and watch_list as field
function onLoad(){
$j(document).ready(function() {
alert('inside ready');
$j('incident.watch_list_unlock').click();
});
//Type appropriate comment here, and begin script below
}
2) Is it possible that the value displayed here can be a different field?
No - Once you select the record it would show only 1 value which is Display=true at your table level
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-01-2020 05:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-01-2020 05:53 AM
Hi,
Did you get the alert?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-01-2020 06:07 AM
Yeah i got the alert msg but the field didn't get expanded