Announcement

Collapse
No announcement yet.

Add id to a many-to-many Link Multiple field

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Add id to a many-to-many Link Multiple field

    I have 2 Entities, A & B, and there 2 entities have a many to many relationship.
    I want to add some B rec to A in A's before save script. I have tried the following code

    array\push(bsIds, 'XXXXXXX');

    where bs is the Link Multiple field of B in A

    but it does not work. How can i add id to a many-to-many Link Multiple field?

    Thank you

  • #2
    https://www.espocrm.com/documentatio...linkmultipleid
    if you use relation as Link Multiple field

    Comment


    • #3
      Thank you

      Comment

      Working...
      X