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

Loading

Recent Updates

AZURE DEVOPS
Blogs
22 Jan, 2025

Understanding Test Plans in Azure DevOps

Introduction In software development, testing is a crucial phase to ensure the quality and reliability of an application. Azure DevOps…

READ MORE
Blogs
15 Jan, 2025

How Dynamics 365 Customer Service Helps Businesses Personalize Support Experiences

In today’s market, customers expect fast and personalized support. Dynamics 365 Customer Service is a solution that enables businesses to…

READ MORE
Business Central thumbnail image
Blogs
06 Jan, 2025

What is Dynamics 365 Business Central? A Comprehensive Beginner's Guide

Dynamics 365 Business Central is a unified business management system offered by Microsoft. It helps businesses automate and manage various…

READ MORE