Notifications
Announcements
Hi All,
I want to filter the "add existing" lookup on subgrid which is N:N relationship with some filter criteria on some fields of related entity.
Cna somebody please help me with the code reference?
Thnaks in advance.
Hello MonaliChavan,
Can you tell us the reason why you want to use code to do this?
You can just modify your view or create your personal view with that filter criteria. Then just change your view at the lookup to achieve this.
Because related entity has business unit field so I need to filter only those related record which will match current business unit of user with one more filter criteria.
Hi MonaliChavan,
Please refer to this thread, there is some sample code in it, you can have a try:
community.dynamics.com/.../860976
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.
iampranjal 65
André Arnaud de Cal... 34 Super User 2025 Season 2
Pallavi Phade 24