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 Dataverse Dynamics 365 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

Comments

profile image

23 days ago

Jignesh

test

Reply .
profile image

23 days ago

NebullaJignesh

Test2

Reply .

Recent Updates

Content styling
Case Study
20 Jul, 2024

Content styling

normal paragraph Bold paragraph Italic paragraph Bold italic paragraph Highlighted paragraph colored paragraph Highlighted & colored paragraph Heading 1 Heading 2…

READ MORE
Thum
Case Study
14 Jul, 2024

Revolutionizing Build Warranty's Operations with a Scalable and Automated Dynamics 365 Solution

Customer Overview Build Warranty (BW), a leading UK-based provider of warranty solutions for the construction industry, sought a strategic partner…

READ MORE
test
Blogs
16 Aug, 2023

Power BI - Test 1

asfwreg

READ MORE