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,...
Suggested Answer

addCustomFilter Method not working on CRM Portal

(0) ShareShare
ReportReport
Posted on by

I was trying to Filter a look up  based on other Look up.I wrote  a fetch xml and trying to invorke in the crm portal as we do for crm form. But it does not identify the method.

what is the method to filer in crm portal.

I have the same question (0)
  • rthompson Profile Picture
    1,532 on at

    Hi,

    Please show screenshot of you code or what you are doing.  This would be very helpful.

  • Suggested answer
    Charles Abi Khirs Profile Picture
    3,569 on at

    Hello,

    The JavaScript applied in the form on the CRM will not be applied on the portal.

    What I suggest for non-code solution,

    1. Create a new form specific to the portal

    2. Create new view specific to the lookup

    3. In the view, apply the filtering you need for the lookup

    4. Select this new view in your lookup field placed on the new form

    5. In Entity Form of theportal, point to this form

    Note: don't forget to give the entity permission for the entity of the lookup to the needed web roles

  • Community Member Profile Picture
    on at

    I have a scenario like Account->Product--> product versions.

    My filters gives  account based products and versions, but again in that if I select a product if only 1 version is available ,that should get filtered. How can we achieve this dynamically.

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 137 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 57

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans