How to modify Hardware Asset "Display Name" properties??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-12-2017 06:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-12-2017 08:31 AM
Is this where the Model "display name" is calculated?
What do I edit to make this show the Model Number?
var values = [current.manufacturer.getDisplayValue(), current.name, current.version, current.edition];
var displayName = '';
if (values[1].toLowerCase().indexOf(values[0].toLowerCase()) != -1 && 'true'.equals(gs.getProperty('glide.cmdb_model.display_name.shorten')))
values[0] = '';
for (var i = 0; i < values.length; i++){
if (values[i] != undefined && values[i] != '')
displayName += ' ' + values[i];
}
current.display_name = displayName.trim();

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-12-2017 06:10 PM
Correct. You dont need to modify the script include. In BR just remove the first condition "current.asset_tag.changes()". This will not populate asset tag once u remove the condition
Harish