web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer Service forum

Rollup Field that Concatenates String Fields

(0) ShareShare
ReportReport
Posted on by

Hi 

I have a contact entity that has a N:N relationship with a qualifications entity.  I am trying to create a field in the contact entity that will store rollup/concatenate all qualification names attached to the contact and puts them in a string field.  Is this possible? 

I was thinking a rollup field could do it but believe that reserved only for numeric fields and only works on 1:N relationships. 

Is there a way to achieve this?

Categories:
I have the same question (0)
  • Suggested answer
    Arun Vinoth Profile Picture
    11,615 Moderator on at

    Rollup field cannot be used for this purpose. Like you said this will rollup all the count/sum of values from child records to the parent record.

    In your case you have to write a plugin to concatenate on associate/disassociate message of entity records. Or some timely jobs to iterate the values & update the parent.

  • Suggested answer
    Adrian Begovich Profile Picture
    1,027 Moderator on at

    Hi RFDz,

    Plugins are the best way to achieve this.

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi,

    You need to write a plugin on associate & disassociate message  of you entitiy. Within the plugin, you need to retrieve the entity records, concetenate  and store in on the contact entity.

    You can refer below blog on this-

    www.itaintboring.com/.../dynamics-crm-associate-disassociate-plugin

    rajeevpentyala.com/.../associatedisassociate-plugin-messages-in-crm

    Hope this helps.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Customer Service

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans