Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

loop subgrid data in email body content

Posted on by 2,379

Hi all,

I need a requirement that loop 1:N (subgrid) data to email body content. I'm sure there is a solution somewhere inside forum, but I couldn't find.

Is there any ready-to-use solution (like custom WF assembly) or do I need to write it from scratch

I need something like this;

Dear XXX,

Please find order details below;

+----------+----------+----------+----------+
| ITEM     | QUANTITY | PRICE    | TOTAL    |
|----------|----------|----------|----------|
| Item 1   |     1    | $5       | $5       |
|----------|----------|----------|----------|
| Item 2   |     3    | $2       | $6       |
|----------|----------|----------|----------|
| Item 3   |     5    | $5       | $2       |
+----------+----------+----------+----------+

Other email contents.......


Thank for your advices

  • Verified answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: loop subgrid data in email body content

    Hi,

    unfortunately , there is no out of box can achieve this

  • Emre GULCAN Profile Picture
    Emre GULCAN 2,379 on at
    RE: loop subgrid data in email body content

    Hi Wei,

    Thank you for your response and link, I know that to need custom development. However is there any solution (directly install and ready-to-use)?

  • Verified answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: loop subgrid data in email body content

    Hi,

    you need to achieve it via plugin or workflow.

    community.dynamics.com/.../how-to-send-dynamic-html-formatted-table-in-email-body

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans