web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Fetch data and bind to subgrid in Crm d365 online

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

I have the same question (0)
  • Verified answer
    gdas Profile Picture
    50,091 Moderator 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/]

  • Suggested answer
    ScottDurow Profile Picture
    21 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

  • Suggested answer
    Mahendar Pal Profile Picture
    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

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans