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

Thank you Berny - this was very helpful!

Cheers

Chris

Angel Ram_rez2
Kilo Contributor

Thank you bernyalvarado. Your information was very usefull :)...

 

find_real_file.png

 

find_real_file.png

You're welcome @Angel Ramírez! 🙂

 

Thanks,

Berny