function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Need input for changing junction object editable display

Hi ,


I have a junction object which is having master child relationship with two other objects. Master objects are custom products and custom contacts. I have created junction object since the relationship is one product can have multiple contacts and vice versa. From my custom contact related list on custom product page, when I go to create a link for adding a few more contacts to the same product, I dont want the product name to be editable and it should be greyed out. Any ideas for doing the same? Is a new VF page only option?




Ankit AroraAnkit Arora

You can make that field read only.



Ankit Arora


Greg HGreg H

I don't think it can be made read only because the junction object requires both relationship lookups in order to save. If you want to make it so that the field is read-only or grayed out then you need to use Visualforce Page.