Getting error while updating the field label.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2022 03:52 AM
Hi ,
I am getting an error "Invalid 'Field Label' record even though the selected outside Table 'xxx' is allowed." while i am updating hint in the field label. The table which i am updating the field label on is actually extending the cmdb_ci table.
When i am updating the field label in cmdb_ci table , its allowing me to update and that update is inherited to all the tables extending the cmdb_ci table.
But i need the field label to be updated only for xxx table.
Can anyone help me out here.
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2022 04:19 AM
Hello Shyna,
Please follow the below steps:-
1) Open the field in cmdb_ci table
2) In the dictionary view of the filed scroll to the bottom here you will see a label related list:-
Click on new and select the child table name and the filed and the label you want to display
And save it you will see the label has been changed for the field.
Please mark answer correct/helpful based on Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2022 04:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2022 05:12 AM
i checked the application . Its in same scope but still getting the error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2022 05:27 AM
Hello Shyna,
If this method is throwing error please do the below:-
Write a onload client script on the form on the child table with the below code:-
function onLoad() {
//Type appropriate comment here, and begin script below
g_form.setLabelOf('fieldname','newlabel'); // replace with your fieldname and label
}
It will change the field label for only that child table.
Please mark answer correct/helpful based on Impact