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 :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Concatenate "Name" of all selected row from subgrid to one text field

(0) ShareShare
ReportReport
Posted on by

Hi All,

I want concatenate "Name" of all selected row from subgrid to one text field.

I try this with a flow, but it give me one row when i execute the flow.

pastedimage1625602805815v1.png

Any idea Please!!

I have the same question (0)
  • AriaConsulting Profile Picture
    2 on at

    What if you replace the init variable with Compose?  What output do you get?

  • Community Member Profile Picture
    on at

    I get now the last selected!!

  • AriaConsulting Profile Picture
    2 on at

    Sorry, I'm not sure what that means.

  • Community Member Profile Picture
    on at

    I mean i get the name of last row selected in subgrid, not all names. :/

  • AriaConsulting Profile Picture
    2 on at

    Hey Wahaj Rashid,

    You're much better at the "developer" aspects than me.  If adds a "for each" to the compose or the variable versions of the Flow, will that solve the problem of getting all the selected records to concat?  Or does it need to be an array?

  • Verified answer
    Nya Profile Picture
    29,060 on at

    Hi,

    You can enable the Concurrency Control for the trigger of the flow by clicking the 3 dots button > Settings of the trigger. (Value of the limit = 1)

     pastedimage1625624945278v1.png

    Here is my example to get the names of the selected contacts and append them to the description of the account with the Expression - concat.

     pastedimage1625624950183v2.png

    Here is the original description of the account.

     pastedimage1625624962973v3.png

    After I selected the two contacts in sub-grid and run the flow,

     pastedimage1625624968323v4.png

    the description is shown as the following:

     pastedimage1625624977876v5.png

    If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.

    Best Regards,

    Nya

  • AriaConsulting Profile Picture
    2 on at

    ,

    On the very slight chance it's not obvious from her reply, Nya is another fab resource here in the forums for the more developer type aspects.  (that's a subtle hint that you might want to consider following her....)

  • Suggested answer
    meelamri Profile Picture
    13,216 User Group Leader on at

    Hi,

    You can implement this scenario by adding a new button to your grid + implement your logic using JS code.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 60 Most Valuable Professional

#2
#ManoVerse Profile Picture

#ManoVerse 51

#3
Satyam Prakash Profile Picture

Satyam Prakash 42

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans