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 CRM (Archived)

Loop through Sub grid

(0) ShareShare
ReportReport
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

I have the same question (0)
  • Alex Fun Wei Jie Profile Picture
    33,628 on at

    Hi,

    in which circumstances, this action will be triggered?

  • Jay2014 Profile Picture
    on at

    an option set yes/no or ribbon button.

  • Suggested answer
    Aric Levin - MVP Profile Picture
    30,190 Moderator on at

    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.

  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    33,628 on at

    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

  • Jay2014 Profile Picture
    on at

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

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 CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans