M-Files API 23.11.13135.0
GetFacetValuesByPath Method
VaultObjectSearchOperations Object : GetFacetValuesByPath Method
The relative path in the vault.
The facets as expressions.
The maximum number of facet values returned for each facet. Use 0 to retrieve all facet values.
Description
Retrieves the facet values for the objects that satisfy the search conditions extracted from the temporary search view specified by the path.
Syntax
Visual Basic
Public Function GetFacetValuesByPath( _
   ByVal RelativePath As String, _
   ByVal Facets As Expressions, _
   ByVal FacetValuesMaxCount As Long, _
   ByVal Flags As MFFacetSearchFlags _
) As StringData
Parameters
RelativePath
The relative path in the vault.
Facets
The 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.
Remarks
This method is available only if M-Files API is used in the client interface mode.
See Also

VaultObjectSearchOperations Object  | VaultObjectSearchOperations Members