Announcements
No record found.
Hi all,
Is there a check in a API page if the filter is specified?
The version I'm using is v17
Kind regards,
Gert-Jan
Hi,
I asked about this on Twitter using the #BCALHelp tag.
twitter.com/.../1353744836277334016
Erik Hougaard found that there is a Record.HasFilter method:
docs.microsoft.com/.../record-hasfilter-method
He also shared that there is also a Record.GetFilters() method that can be used to retrieve the filters.
docs.microsoft.com/.../record-getfilters-method
Will that work for you?
Steve is actually right, use the filter methods on the record.
Just wanted to add that you can look into the standard APIs to see an example.
page 30043 "APIV2 - Sales Invoice Lines" --> trigger OnFindRecord
github.com/.../APIV2SalesInvoiceLines.Page.al
Thanks.
That did the trick
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.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 1,986 Super User 2026 Season 1
YUN ZHU 1,071 Super User 2026 Season 1
Dhiren Nagar 975 Super User 2026 Season 1