Notifications
Announcements
No record found.
Hi
I have a serial number look view records, but I just want it to show serial numbers of only the product I have added in the form.
Basically want to filter the serial numbers with the product selected
Any kind of help will be appreciated
Hi Smehra33,
You can enable the Related Records Filtering setting of your lookup field on your form. Please refer to this blog:
https://blog.magnetismsolutions.com/blog/dominicjarvis/2017/10/19/how-to-filter-lookups-by-related-records-in-dynamics-365
Or
You can also use addCustomFilter() method.
Reference:
https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/controls/addcustomfilter
carldesouza.com/.../
Thank You Steve for the reply, I have already filtered the look up field, but here the scenario is different. They have created a button on the sub-grid ribbon and called a Look up view which shows all the SN irrespective of products and I want to filter according to the product selected.
I would appreciate if you could guide me through this
Regards
Do you create the button with Ribbon Workbench? If so, do you use the lookupObjects() method to open a lookup view in the command?
If yes, you could pass filters parameter to achieve this. Otherwise, please provide more detail.
lookupObjects doc:
docs.microsoft.com/.../lookupobjects
Hi Steve,
Thank you for the reply, and sorry for replying back so late. This particular button was created by someone else not me. But I am pretty sure they have created a button using ribbon workbench but not sure of the lookupobject() method used in command. can you please help me or provide me with a reference article which can help me achieving this from scratch as I am new to MS Dynamics.
Any help is appreciated.
Thank you
You can refer to this thread:
community.dynamics.com/.../968137
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.
Tom_Gioielli 45 Super User 2025 Season 2
Daniyal Khaleel 27 Most Valuable Professional
Soundari 15