linkMultiple fields

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • neel
    Junior Member
    • Aug 2014
    • 2

    linkMultiple fields

    I'm trying to use the linkMultiple to create a Many to one relationship field for Contact And Account.
    Admin can select Multiple Account & Multiple Contact of user.
    Where and how i add what code in my New Module.
    * Multiple Account
    * Multiple Contact
  • yuri
    Member
    • Mar 2014
    • 8627

    #2
    Hi

    I'm not sure if i understand you correctly.

    1. You define relationships (links) on both sides (belongsTo and hasMany)
    2. On the side where hasMande defined you define the new field with the same name as link is names.

    "accounts" : {
    "type": "linkMultiple"
    }

    And then you will be able to add this field on a layout.

    Relationship Manager will be implemented in 2.8 version (in 1-2 months)
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • caffeine
      Member
      • Aug 2014
      • 48

      #3
      Originally posted by neel
      I'm trying to use the linkMultiple to create a Many to one relationship field for Contact And Account.
      Admin can select Multiple Account & Multiple Contact of user.
      Where and how i add what code in my New Module.
      * Multiple Account
      * Multiple Contact
      Take a look at this:
      Hi, I added the Projects example as explained in the blog to the client which works fine. Now, i’m trying to add a linkMultiple with Contacts by changing the


      Comment

      Working...