Announcement

Collapse
No announcement yet.

Contact field (attendees alike) for a custom entity

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

  • Contact field (attendees alike) for a custom entity

    Hi

    I created a custom entity, I want to have a field to assign contacts on records (like meetings attendees system), how can I achieve this please?

    thank you

  • #2
    Hi

    You need to create many-to-many relationship with Contact. Then you need to create the field manually in entityDefs
    PHP Code:
     ...
       
    "fields": {
         
    "yourRelationshipName": {
          
    "type""linkMultiple"
       
    }
      }
    ... 
    :

    This field will be available in layout manager.

    Comment


    • #3
      Hi, thanks ! works fine now

      Comment


      • #4
        Hi,

        I have an issue

        In workflow, I want to receive an email each time that a field on my custom entity records is update

        So I set up the trigger with email etc, But when I select email template with in :

        "Hi, {MyCustomEntity.contactsNames} wants to know {MyCustomEntity.otherfield}..............."

        I see "Hi, {MyCustomEntity.contactsNames} wants to know Other Field..............."

        So, how to obtain the contacts'name in a workflow email ?

        Thank you for your help

        Comment

        Working...
        X