Dictionary Override to change display name of Description on Task table

maheshkhatal
Mega Sage

Hello All,

I have a scoped application which has inherited 'description' field from the 'task' table but I want to rename it to 'Training Description' instead  of 'description' which is default from Task table, but this should be done without affecting other tables such as incident, change which inherit the task table's description field. How can I achieve this using dictionary override feature of servicenow? 

 

Thank you,

Mahesh.

1 ACCEPTED SOLUTION

Vengateshwaran
Mega Guru

Hi @maheshkhatal ,

You can achieve your requirement by changing the name in form design it will be applied only to the child table.

View solution in original post

4 REPLIES 4

Vengateshwaran
Mega Guru

Hi @maheshkhatal ,

You can achieve your requirement by changing the name in form design it will be applied only to the child table.

Peter Bodelier
Giga Sage

Hi @maheshkhatal,

 

You cannot change the label with a dictionary override, but you can add another Label specifically for you extended table:

PeterBodelier_0-1695296394819.png

 


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

DYCM
Mega Sage

Hi @maheshkhatal ,

Since your requirement is to change the label of a field, I would suggest to use Client Script to do that.

Here is the example:

TestTable inherits Task table

1.png

Create a Client Script:

2.png

g_form.setLabelOf("description","Training Description");

3.png

Hi @DYCM,

 

While this is certainly a possibility, I wouldn't do any client side logic, unless there is no other solution. Since there is another solution here, this should not be used.


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.