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

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Vincent
    replied
    Thank you

    Leave a comment:


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

    Leave a comment:


  • Vincent
    started a topic Add id to a many-to-many Link Multiple field

    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
Working...