I am using SUGAR 5.2L.

I have created a M:M relationship Contacts to Contacts. I also added a Relate to field to the contact module so I would have a field name to code into sidecreateviewdefs.php in place of the default 'Assigned User" field.

My Relate field shows up and selects a contact correctly....a record is created but no relationship is created.

I was expecting to see boths contact in each others subpanel. Where am I going wrong?

Eventually I would like to discover the parent id's other relationships to other contacts and adopt them. Any insight into how to accomplish this?