Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Fetch data and bind to subgrid in Crm d365 online

Posted on by 381

Dear All, I have one requirement like on tab click of Crm form, need to bind subgrid by Ajax call(data from other database)

Can achieve this? If yes then after binding data to subgrid , will that data will get save in CRM for future use?

Thank you.

*This post is locked for comments

  • Suggested answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: Fetch data and bind to subgrid in Crm d365 online

    Hi,

    In addition to that you can also use Ext JS Grid, where you can build a editable grid: docs.sencha.com/.../grids.html

  • Suggested answer
    ScottDurow Profile Picture
    ScottDurow 50,177 on at
    RE: Fetch data and bind to subgrid in Crm d365 online

    Hi,

    You cannot do this on the client side since the grid is not extensible in this way.

    Your options are:

    1. Use virtual entities which involves creating a plugin to call your external service on the server. See [View:https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/virtual-entities/get-started-ve]

    2. Create an html web resource that is embedded on the form. See [View:https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/webpage-html-web-resources]

    3. If you are Crm online you can in the future use an embedded canvas app. See [View:https://docs.microsoft.com/en-us/business-applications-release-notes/october18/powerapps/extend-dynamics-365-entity-forms-with-embedded-canvas-apps]

    Hope this helps

  • Verified answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Fetch data and bind to subgrid in Crm d365 online

    Hi Parshuram,

    You can populate subgrid data only when data exists in your related  entity.You can not bind temporary data without relate to the parent entity.

    Possible way on tab expand you call your ajax function to retrieve the data and create the subgrid  data in the  same Ajax success method.

    Have a look my blog talks about this -

    [View:https://goutamdascrm.wordpress.com/2018/11/29/what-is-stopping-you-to-use-out-of-the-box-subgrid-in-dynamics-365/]

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,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