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 :
Customer experience | Sales, Customer Insights,...
Answered

dose lookupObjects support N:N filter condition

(0) ShareShare
ReportReport
Posted on by 205

https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/xrm-utility/lookupobjects

refer to the link,I can use lookupObject to perform a lookup Dialog.

I'd like to add some pre filter by using filters(some filter condition will be defined in filterXml)

I have some question whether the filterXml support N;N relationship?

I use same filter condidtion fetchxml and test it in xrmtool's fetchxml tester,the fetch query works well,

but in lookupobject,the query result not in the search result.

thanks for your help.

I have the same question (0)
  • Verified answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    I don't think you will be able to do that directly but there is a workaround. Check this post - missdynamicscrm.blogspot.com/.../crm-2013-using-addcustomfilter-to-get-filtered-lookup-field-based-on-linked-entity.html

  • renton Profile Picture
    205 on at

    Andrew

    Thanks for your answer,It seems that in UCI,some unsupported solution way(like customeView) is no longer could be used.And I found lookupObject's filterXml has some limited is the filterXml can only use linked-entity which entity's filed used in view.So there is no way to use N:N middle table as link entity in LookupObject.

    Thanks for your help.

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    If my reply answers your question take a minute and close it with verifying the answer. You can do it by clicking "Yes" at the top of the reply under the label "Does this answer your question?"

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 108 Super User 2025 Season 2

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans