Skip to main content

FolderListingAlgorithm

Folder listing algorithm. Used to optimize property folder listings on intermediate view levels.

NameDescriptionValue
FOLDER_LISTING_ALGORITHM_NONENone i.e. no manual determination, use the program's own heuristics. If this is used, a folder listing algorithm is determined automatically.0
FOLDER_LISTING_ALGORITHM_TEST_EACH_VALUE_WITH_SINGLE_QUERYTests each value (folder) separately but uses a single SQL query.1
FOLDER_LISTING_ALGORITHM_GET_VALUES_BY_DISTINCT_USEGets matching values (folders) based on their distinct use in the objects.2
FOLDER_LISTING_ALGORITHM_TEST_EACH_VALUE_WITH_SEPARATE_QUERIESTests each value (folder) separately, uses a separate SQL query for each folder to be tested.3

Runtime Access

This enumeration is available at runtime on the MFiles global object under the VaultEnums namespace. Access enum values using MFiles.VaultEnums.FolderListingAlgorithm.<value>.

Example:

const value =
MFiles.VaultEnums.FolderListingAlgorithm.FOLDER_LISTING_ALGORITHM_NONE;

See also: MFiles Global Object