Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Unanswered

How to get only associated records from a subgrid

Posted on by 5

Hello Expert,

I would like to ask if how to get associated records from a subgrid. 

Scenario: I have a table with a subgrid of table Y.

Now I want to get the details of Y (records) associated with (a record) using OData filter.

Table-Y.bmp

  • Ray Profile Picture
    Ray 1,477 on at
    RE: How to get only associated records from a subgrid

    You can check this link to get start.

  • Jawad Chaudhry Profile Picture
    Jawad Chaudhry 5 on at
    RE: How to get only associated records from a subgrid

    Thanks, Ray for your response can you please elaborate on the second method (REST builder) as I need to write a code

    Thanks again

  • Ray Profile Picture
    Ray 1,477 on at
    RE: How to get only associated records from a subgrid

    If you want to filter in UI, you can change Show related records in subgrid setting.

    If you want to filter in code, you can use restbuilder or Dataverse REST Builder to create the js code for you.

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.

Helpful resources

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,532 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,501 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans