getFilterJSON(levels, includeRoot): Object;
levels. Number. Number of levels included into filtering. If it is not specified, the value is -1, and the whole tree is used in filtering.
includeRoot. Boolean. Indicates if root node is included into filtering. By default the value is False, that is, root node is not used in filtering.
The getFilterJSON method returns filtering settings in the tns_PP7_SOM:ElsFilter format.
The example of use is given in description of the ElsFilter.IncludeParents property.
See also: