Notifications
Announcements
No record found.
Hello,
I am looking to get the GUID of the selected record in the subgrid through javascript. Any help is much appreciated.
Thanks.
*This post is locked for comments
Hi,
You can use getSelectedRows, please check SDK:
msdn.microsoft.com/.../dn932126.aspx
Thanks
Worked using below code:
var selectedRows = Xrm.Page.getControl("GridName").getGrid().getSelectedRows();
selectedRows.forEach(function(selectedRow, i) {
entityGuid = selectedRow.getData().getEntity().getId();
});
Hi Dinoop,
Check this article, to get GUID of selected records :
crmhub.blogspot.in/.../how-to-get-selected-records-guid-from-home-page-entity-view-using-Java-Script-MS-Dynamic-CRM.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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
SA-08121319-0 4
Calum MacFarlane 4
Alex Fun Wei Jie 2