cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
EtienneV
Frequent Visitor

Show associated records in Side Pane

Hello,

I would like to create a Side Pane with Xrm that shows the associated records when in a specific record main form.

 

Let's say we are in a record of Table1 associated with 3 records of Table2, I would like to show those 3 records in a Side Pane.

 

In the documentation of Xrm Navigate, there is the relationship object that seems to work for this purpose but I can't find any exemple showing how to use it and since i'm not an expert in JavaScript I can't made it work myself.

I especially don't know what to inform in attributeName and navigationPropertyName

 

I have this part of code:

pane.navigate({
pageType: "entitylist",
entityName: "table2",
relationship:{
//attributeName String Name of the column used for relationship.
name: "table1table2",
//navigationPropertyName String Name of the navigation property for this relationship.
relationshipType:1,
roleType:2
}
})

 

Thank you!

1 REPLY 1
EtienneV
Frequent Visitor

I just realize that "relationship" property is made for entityrecord and not for entitylist.

Is there another way to retreive associated records for a selected item in a side pane without building a custom page with a gallery and a entityId?

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,498)