Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Open related entity list from entity list

(0) ShareShare
ReportReport
Posted on by 130

Hello

We need to show on a portal list of Sales orders with a Sales lines related to specific Sales order. 

In CRM we created 2 entities - Sales orders and Sales line. In Sales line entity each line is related to one of Sales orders.

We created 2 Entity lists and 2 Web pages - for Sales orders and Sales lines. In Sales order entity list in "Web page for Details view" we specified web page that was created to show List of Sales lines.

The idea was the following - when user open list of Sales orders and click one one of Sales orders, web page with a Sales lines related to this Sales order will be opened. 

The problem is that when we clicking at Sales order full list of Sales lines opens - not only Sales lines related to Sales order.  

We tried to enter different values in field "ID Query string Parameter Name" but it doesn't help.

How to solve this issue?

 

*This post is locked for comments

  • Suggested answer
    Fubar Profile Picture
    Fubar 2,752 on at
    RE: Open related entity list from entity list

    Configure a form on sales orders with a subgrid to the related line items (you do not need to show the sales orders details if you don't want to on this form - the important part is its a form that will take the id and has the subgrid of the related items).  

    For the form add a metadata item for the subgrid so the CRM subgrid will render on the portal.

    From your entity list call the new form/page, passing the id (of the sales order) the subgrid on the form will filter to the id.

  • Birgit RD Profile Picture
    Birgit RD 2 on at
    RE: Open related entity list from entity list

    Same here, but we used a liquid template to get the data and build the second list.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Open related entity list from entity list

    We had almost the same requirement. We had to develop a custom solution where we had to get the related records using oData and then creating the grid using JavaScript

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,489 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans