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

Ad hoc support Thumbnail image
Blogs
12 Mar, 2025

What is Ad hoc Support and Why Was It Created?

What is Ad hoc Support and Why Was It Created? Businesses today are constantly navigating obstacles that need swift and…

READ MORE
Data Migration thumbnail
Blogs
11 Mar, 2025

Data Migration: On-Premises to Cloud CRM Systems - A Step-by-Step Guide

Data Migration: On-Premises to Cloud CRM Systems - A Step-by-Step Guide Many businesses are moving their CRM systems from on-premises…

READ MORE
D365 Customer Service - Thumbnail
Blogs
03 Mar, 2025

What Is Dynamics 365 Customer Service?

What Is Dynamics 365 Customer Service? Dynamics 365 Customer Service is a powerful solution by Microsoft designed to enhance customer…

READ MORE