AnsweredAssumed Answered

Adding custom field to relationship - Sugar 7.x

Question asked by Rafael Pedrosa on Jun 8, 2017
Latest reply on Dec 7, 2017 by Enrico Simonetti



Does anyone know how to implement a custom relationship field?


I can see it's done for a couple of core modules like Accounts -> Contacts and Opportunities -> Contacts.


In both modules the relationship table has a field called contact_role that can be edited directly in the subpanel list of records.


Now I have two custom modules and a many to many relationship between them. I want to add a field to the relationship and make it appear in the subpanel where it can be edited.


I've read this link


Adding Fields to a Relationship/Subpanel « Sugar Developer Blog – SugarCRM 


but it's very old and doesn't work for me. (I'm on Sugar 7.9).