Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

rename label in M2M table

sbolton
Mega Expert

I have a m2m table that already exists, the problem is that I need to rename the label that is displayed in the related list tab on the form.   The M2M from label in the sys_m2m table cant be modified.   Ok so I created an admin override ACL so i can rename the label.   There is a business rule 'SNC ManyToMany Create' that checks if the m2m already exists, I can comment out the BR that makes this check and update the record but is there another way to update the m2m 'from' and 'to' labels without having to ?

function createMTMTable() {

    if (exists()) {

            current.setAbortAction(true);

            current.m2m_table.setError(gs.getMessage("A Many to Many entry already exists for this table"));

            return;

    }

    if (MTMexists()) {

            gs.addInfoMessage(gs.getMessage("The many to many table {0} already exists", current.m2m_table));

            return;

    }

1 ACCEPTED SOLUTION

bernyalvarado
Mega Sage

Hi Sean,



You can rename the label of related list by right clicking on the menu of the related list and doing Configure >> List Control



Over there you can assign the label of your preference.



Thanks,


Berny


View solution in original post

7 REPLIES 7

bernyalvarado
Mega Sage

Hi Sean,



You can rename the label of related list by right clicking on the menu of the related list and doing Configure >> List Control



Over there you can assign the label of your preference.



Thanks,


Berny


I am not able to see any options when I right click on the related list menu.   I am clicking on the tab of the related list.


Ah! I got it thanks!!


Hi,

How did you het it? I am still not able to fine it.