M-Files API 22.6.11519.0
GetFacetValues Method
VaultObjectSearchOperations Object : GetFacetValues Method
Search conditions.
Facets as expressions.
The maximum number of facet values returned for each facet. Use 0 to retrieve all facet values.
Bitwise flags controlling the facet search.
Description
Retrieves the facet values for the objects that satisfy the specified search conditions.
Syntax
Visual Basic
Public Function GetFacetValues( _
   ByVal SearchConditions As SearchConditions, _
   ByVal Facets As Expressions, _
   ByVal FacetValuesMaxCount As Long, _
   ByVal Flags As MFFacetSearchFlags _
) As StringData
Parameters
SearchConditions
Search conditions.
Facets
Facets as expressions.
FacetValuesMaxCount
The maximum number of facet values returned for each facet. Use 0 to retrieve all facet values.
Flags
ValueDescription
MFFacetSearchFlagAscendingOrderOrders to use an ascending sorting order if the facet values are to be sorted.
MFFacetSearchFlagIgnoreFacetGroupPermissionsOrders to perform no ACL check on facet groups.
MFFacetSearchFlagIgnoreFacetValuePermissionsOrders to perform no ACL check on individual facet values.
MFFacetSearchFlagIgnoreSearchPermissionsOrders to perform no ACL check on the underlying search results.
MFFacetSearchFlagNoneNo flags.
MFFacetSearchFlagOverrideByConfigurationOrders to override the facet search parameters by configuration if available.
MFFacetSearchFlagSortFacetValuesOrders to sort facet values in descending occurrence order within each facet group.
Bitwise flags controlling the facet search.
Remarks
The facet values are provided as JSON string data.
See Also

VaultObjectSearchOperations Object  | VaultObjectSearchOperations Members