Click or drag to resize

SavedFilterExtractFilterFromReq Method

Overload List
  NameDescription
Public methodStatic memberExtractFilterFromReq(IAppContext, HttpRequest)
Extract any general filter clause from the 'flt' parameter of the request. See ExtractFilterFromReq(IAppContext, HttpRequest, String, SavedFilter) for more information.
Public methodStatic memberExtractFilterFromReq(IAppContext, HttpRequest, SavedFilter)
Extract any general filter clause and its SavedFilter from the 'flt' parameter of the request. See ExtractFilterFromReq(IAppContext, HttpRequest, String, SavedFilter) for more information.
Public methodStatic memberExtractFilterFromReq(IAppContext, HttpRequest, String)
Extract any general filter clause from the named HTTP request parameter. See ExtractFilterFromReq(IAppContext, HttpRequest, String, SavedFilter) for more information. Note that calling this overload is the same as calling the ExtractFilterFromReq(IAppContext, HttpRequest) overload specifying 'flt' as the name value.
Public methodStatic memberExtractFilterFromReq(IAppContext, HttpRequest, String, SavedFilter)
Extract any general filter clause from the request. Use this method to obtain the filter clause and SavedFilter specified in the request via the name (defaults to 'flt') parameter. The value must be a special SavedFilter identifier generated using one of the RegisterReqFilter(IAppContext, String) overloads. If the parameter is not present, or its value is blank/null, a blank/null clause will be returned and the returned filter will be null.
Remarks
In early version of the platform providing a raw SQL filter clause was allowed, but due to the risk of SQL injection this is no longer supported and an error will be thrown if a non-blank/empty parameter value is found that is not a recognized SavedFilter identifier.
Top
See Also