Asset Display Name HELP!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2015 08:50 AM
I'm not sure how I did this, but I somehow made the Display Name field on the Asset[alm_asset] table start with "Calling Card - ".
Here's what I did:
1. Opened the dictionary entry for Display Name
2. Insert and Stay
3. In the new entry:
a. Changed the column name to: Calling Card Name
b. Modified the original code from:
var values = [current.asset_tag + ' -' ,current.model.display_name];
var display_name = "";
for (var x=0;x<values.length;x++) {
if (values[x] != undefined && values[x] != "" && values[x] != " -") {
display_name = display_name + ' ' + values[x];
}
}
current.display_name = display_name.trim();
to:
var values = ['Calling Card -' ,current.serial_number];
var display_name = "";
for (var x=0;x<values.length;x++) {
if (values[x] != undefined && values[x] != "" && values[x] != " -") {
display_name = display_name + ' ' + values[x];
}
}
current.display_name = display_name.trim();
Now all of the Display name fields start with "Calling Card - ". I deleted the custom table that I created to use the Calling Card Name field. Also, now in the Hardware Assets, all the Display names start with "Calling Card - ".
1. What did I do to cause this?
2. How do I fix it?
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2015 08:55 AM
Albert,
If its in Dev, I would suggest to restore the instance from the back up. Hi Support can help you on that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2015 09:37 AM
Is a restore the same as a instance clone?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2015 08:56 AM
OK, here's some new info. When I look at the dictionary entry for Display name, it shows the column label is "Display Name", but when I try to insert or insert and stay, I get an error saying "column u_display_name already exists in this table or a table extended from it" and then the column label changes to "Calling Card Name" and the column name changes to "u_display_name."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2015 08:59 AM
Go to System Definition ->Tables, Open alm_asset table and check the Label there.
