web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

How to show inherited view depended on value of look up field

(0) ShareShare
ReportReport
Posted on by 2

Hello guys,

I have the following case and I'm looking for a solution.

We have 2 Entities "Product" and "Carports" with N:N relationship. The "Product" entity was created not completely right and we cannot create inheriting as it should be.

The field "Parentproductid"  which is a lookup field to Product, exists on the form, and depending on this field we know if we are working with UseCode or Product. (so, it means that we actually use 1 entity for 2 different cases).

  • if the field "Parentproductid" is empty - it's a Model (a top-level)
  • if the field "Parentproductid" contains data - it's a Usecode (which is actually a child of Model)

I've added a subgrid of "Carports" to the "Product" form and I've added a few carports to the list for Model.

The question: is there some way how I can show the list of the Carports on Usecode level by inheriting them from Model?

I have the same question (0)
  • Suggested answer
    Eiken Profile Picture
    on at

    Hi,

    Do you want to display Carports associated with a Usecode entity in the subgrid of Model entity?

    There is no OOTB solution to achieve it.

    But you can writte a JS code to apply FetchXML query on the subgrid to show only those records in the subgrid.

    Please refer to the following link.

    Filter Subgrid in Dynamics 365 CRM (Version 9.2) – Dynamics CRM 2013/2015/2016/Dynamics 365 (wordpress.com)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 51 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 38 Super User 2025 Season 2

#3
#ManoVerse Profile Picture

#ManoVerse 31

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans