Views and OData webservices

poppinspoppins Member Posts: 647
Hi everyone,

I created and saved a view in dynamics NAV 2017.
Is it possible for an OData webservice to run with the filters from that view?
I mean is it possible for the webservice to retrieve dynamically those filters?

Thanks in advance :smile:

Answers

  • Wisa123Wisa123 Member Posts: 304
    Hi,

    If by "view" you just mean a personalized saved filter - then the answer is no.
    If you mean a Page/Query then yes. Filters used by web-services need to be set at Object level in Code.

    Alternatively you can also use OData(v4) Url-filters filter your WebService Dataset to fit your needs. OData Filtering msdn

    /Wisa
    Austrian NAV/BC Dev
Sign In or Register to comment.