Is there any option to rename filed label based on condition

akhila13
Tera Expert

Is there any option to rename filed label based on condition

1 ACCEPTED SOLUTION

Barbara L - Gli
Tera Guru

Hi,

In a client script you can script your condition and set the field label using

g_form.setLabelOf('field_name','New Label');

 

View solution in original post

7 REPLIES 7

Hi Barbar,

 

in change table there is a field call description. i need to change that field label to details and while pulling the change report also the label should be details instead of description.

 

Akhila,

If you'd like 'Description' to always appear as 'Details' for all change requests: 

Right click on 'Description', select 'Configure Label'. This will pull up the Field Label record for all task and task extended tables. Change the 'Table' field to the change_request table, change the label to 'Detail', right click on the header and insert a record.

This will change the Description label for ONLY change requests and not all tasks.

It should show up in reports, as it's changing it server side. Definitely test it out though to be sure, I don't do a lot of reporting.

Hope this is what you need!

Ritanjali Pati
Mega Expert

Hi Akhila,

 

You can achieve this by using client script. Give your condition and write the below script.

g_form.setLabelOf('your_field_name', 'your_new_label');

 

Please mark my answer correct if you found it helpful/correct

 

Thanks,

Ritanjali

www.dxsherpa.com