Change label of a field brought from another table

PaulaaO
Mega Sage

Hi Community,

I have the following use case: on the Risk form we displayed the field which brings the name of the project, as per the screen shot below. I would like to change the label of this field to Project Name but I get "invalid update" message - is it because Risk table is not an extension of Task, that's why it doesn't let me to do the change?

Is there a way to achieve this at all?

find_real_file.png

 

Thank you.

Paula

1 ACCEPTED SOLUTION

Not applicable

I don't think you can do this as the field isn't extended to that form at the table level, it's effectively just being dot-walked to and displayed on your risk form.

You can use g_form.setLabelOf('<field_name>','<label>') to change labels via client script but i don't think you'll be able to do that here as the field isn't actually there.

If you really need to do this you could create a duplicate string field on the source task form and call it project name, populate it with whatever goes in the short description field with a simple business rule, hide it on your task form and dot-walk to that on your risk form.

View solution in original post

9 REPLIES 9

Musab Rasheed
Tera Sage
Tera Sage

Hi Paula,

If this field is defined in 'Task' table then you can go to dictionary of field and go to label there under related list and try to add new name of Risk table. give a try once.

find_real_file.png

Regards

Please hit like and mark my response as correct if that helps
Regards,
Musab

@Musab Rasheed it hasn't let me. please see my reply to Murali

Muralidharan BS
Mega Sage
Mega Sage

Can you pls try this,

1. right click the field

2. configure dictionary

3. go to the related list

4. click labels and create new. 

5. Choose the right table and the desired label name here. 

find_real_file.png

I have tried that already, and this is what I get - I think the issue is because the element is not short)description; short description from Task in Risk table has a different name and that's why it isn't recognised - I did try with the name of the field: risk.task.short_description and it did not work either

find_real_file.png

 

On the below screen shot, after Saving the record, it change the table from Risk to Task:

find_real_file.png

 

I tried to change the element to risk.task.short_description but the change it isn't acknowledged.