Getting error while updating the field label.

Shyna1
Tera Contributor

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!

8 REPLIES 8

Saurav11
Kilo Patron
Kilo Patron

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:-

find_real_file.png

Click on new and select the child table name and the filed and the label you want to display

find_real_file.png

And save it you will see the label has been changed for the field.

Please mark answer correct/helpful based on Impact.

 

 

Raghu Ram Y
Kilo Sage

@Shyna It seems like your child table is from different scope, if so change the "Application Scope" and then update the Label Name of the field.

i checked the application . Its in same scope but still getting the error.

Saurav11
Kilo Patron
Kilo Patron

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