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
Hi,
In addition to that you can also use Ext JS Grid, where you can build a editable grid: docs.sencha.com/.../grids.html
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
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/]
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156