Web service Inspecting Filters

Toddy_Boy
Member Posts: 232
I have a VB.NET page which sets some filters and calls an exposed Page in Navision. How can I within the Navision Page inspect the filters that have been passed in? I've tried GETFILTERS in the OnInit and OnOpenPage but the value is being returned as blank.
Any ideas? [-o<
Steve
Any ideas? [-o<
Steve
Life is for enjoying ... if you find yourself frowning you're doing something wrong
0
Comments
-
Further investigation shows that the HASFILTER is false on page open, however it is true on AfterGetRecord, which is a little late in the process as I want to, limit the records returned after processing I was hoping to perform based on the filter.
](*,)Life is for enjoying ... if you find yourself frowning you're doing something wrong0 -
1) There are FILTERGROUPs, may be that HASFILTER return only if there is filter in actual filtergroup
2) You can limit number of returned records on the caller side, because when you are calling the webservice you are passing one parameter which is max count of returned records... ;-)0 -
and adding to this - you cannot change the filters on the page in AL code - only from the caller.Freddy Kristiansen
Group Program Manager, Client
Microsoft Dynamics NAV
http://blogs.msdn.com/freddyk
The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.0 -
Did you find any solution for this? I'm having the same problem..0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions