Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Loop through Sub grid

Posted on by

Hi,

I have a requirement to :

1. Loop through subgrid records

2. Copy records that have are due for renewal.

3. Create a new entity record and place the copied records on a sub-grid.

Any ideas of how I can develop this would be greatly appreciated ? References please or code to get me started please as I am not a developer. 

Thanks,

*This post is locked for comments

  • Jay2014 Profile Picture
    Jay2014 on at
    RE: Loop through Sub grid

    Thank you, this is performed once on a monthly basis so would not prefer Java Script .. Plugin perhaps  ?

  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: Loop through Sub grid

    Hi,

    do you have Microsoft Flow ? if Yes , you can configure a Flow to do that. But you have to find a way to compare the date.

    www.linkedin.com/.../process-loops-dynamics-crm-online-microsoft-flow-rafael-perez

  • Suggested answer
    Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: Loop through Sub grid

    Hi,

    Attached links to the actions that you are looking to perform:

    Iterate through subgrid data:

    community.dynamics.com/.../sub-grid-client-side-script-methods

    To create new records in CRM using Web Api, I would suggest that you download Jason Lattimer's CRM Rest Builder

    github.com/.../CRMRESTBuilder

    Generate the Web Api Create Calls from there and use them in your JavaScript calls.

    Hope this helps.

  • Jay2014 Profile Picture
    Jay2014 on at
    RE: Loop through Sub grid

    an option set yes/no or ribbon button.

  • Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: Loop through Sub grid

    Hi,

    in which circumstances, this action will be triggered?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans