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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Using Xrm.Utility.lookupObjects with a custom view for link entities

(1) ShareShare
ReportReport
Posted on by 28

Hi All. I have a web resource that on a button click opens a lookup field using Xrm.Utility.lookupObjects. The view inside this lookup is very basic and can only be changed using 

lookupOptions.filters =
[{
filterXml: fetchXml,
entityLogicalName: "gilm_sors"
}],

This fetchXml only allows the <filter> part of fetchxml when I need to use LinkEntity. I am trying to use addCustomView aswell but cannot get it to work. In summary, how can I use Xrm.Utility.lookupObjects, but have a filter for a related entity?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 71 Super User 2026 Season 2

#2
Travis South Profile Picture

Travis South 43

#3
Syed Aqib Raza Profile Picture

Syed Aqib Raza 40

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans