Announcement

Collapse
No announcement yet.

Count contacts related to a record

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

  • Count contacts related to a record

    I'm trying to count the number of contacts related to a record so I can show it in a records list view..

    entryCount=entity\countRelated('contact')

    What am I doing wrong?


  • #2
    Hi, check link name again. I think it has to be 'contacts', but check in Entity Manager

    Comment


    • #3
      Thanks - that works now but it only fires with the record is edited not when a contact is allocated... is there any way to make this fire when a contact is related to it?

      Comment


      • #4
        formula works only after record saved. Seams you need a workflow after Contact created Update related record.

        Comment


        • #5
          Thanks, that will work.
          Rich

          Comment


          • #6
            tanya I've just tried to implement but these are not new contacts being created - rather existing contacts being associated with existing records (is a new record type we call buckets).

            Comment


            • #7
              what relationship type is here?
              do you use linkMultiple fields?

              Comment

              Working...
              X