Notifications
Announcements
No record found.
I would like to include a lookup on a custom entity that only shows Opportunities that have been closed as lost. Is there any supported way of achieving this?
*This post is locked for comments
Hello,
I believe you can do that. Add a relationship to create a lookup to opportunity and add JavaScript to prefilter records providing only inactive opportunities as a result - www.magnetismsolutions.com/.../crm-2013-javascript-lookup-filtering-using-addcustomfilter
Hi Ryan,
There is OOB view for Lost Opportunity. You can select that view in you lookup in form. Something like this:
however this will not restrict it and user can change the view. If you want that to be restricted then use addcustomview
https://community.dynamics.com/crm/b/powerxrmblog/archive/2016/06/13/lookup-filtering-using-addcustomview
Thanks,
Prateek
Thanks Prateek, I should have thought of that!
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
SA-08121319-0 4
Calum MacFarlane 4
Alex Fun Wei Jie 2