knowledgecenter-breadcrum

Knowledge Center

04 Jul, 2022

How to retrieve data from an sub-grid using JavaScript in D365 CE?

Posted on 04 Jul, 2022 by Admin, Posted in Dynamics 365 Dataverse Dynamics-365 Sales

How to retrieve data from an sub-grid using JavaScript in D365 CE? Blogs

Introduction
In this blog, we will discuss how we can fetch data directly from sub-grid without using FetchXML in JavaScript.

It is always easy to fetch the data from the fields on form but what about fetching the data from the sub-grid added on the forms?

Here is how we can achieve this :

Example
Suppose we have Employee form with Skills sub-grid added to it. We want to fetch the names of  skills from sub-grid and append skill names in Skills field on Employee form.

The javascript code will look like :

Result

Comment

This is a Required Field

Loading

Recent Updates

Email Storage Made Easy: Dynamics 365 Space Saving Tips
Blogs
29 Feb, 2024

Email Storage Made Easy: Dynamics 365 Storage Saving Tips

Email Storage Made Easy: Dynamics 365 Storage Saving Tips Introduction Microsoft's latest feature allows you to migrate email descriptions from CRM…

READ MORE
Blogs
28 Feb, 2024

How to enable the enhanced email template editor in Dynamics 365?

How to enable the enhanced email template editor in Dynamics 365? To activate the Enhanced Email Template editor for your…

READ MORE
RCA for ARC Migration Issue
Blogs
28 Feb, 2024

Troubleshooting Convert Rules Import Issue: Entity 'workflow' with ID Does Not Exist error in D365

Troubleshooting Convert Rules Import Issue: Entity 'workflow' with ID Does Not Exist error in D365 Problem Statement We implemented D365 Customer…

READ MORE