Skip to main content

GroupingLevel

Extended expression (used to describe a view level, for example).

NameDescriptionType
expressionBasic data.Expression
show_folders_without_objectsTrue to show empty folders, false to hide them.boolean
show_empty_value_folderTrue to show the NULL folder, false to hide it.boolean
show_objects_with_empty_valueTrue to show the contents of the NULL folder directly on this level.boolean
property_folder_filterThe conditions that limit the values (property folders) of this expression.SearchCondition[]
empty_value_folder_nameThe name of the NULL folder. If NULL or an empty string, the default localized name is used.string
show_only_user_selected_foldersTrue if the contents of this view level should be created on-demand only.boolean
subfolder_algorithmFolder listing algorithm used to determine matching property folders on this intermediate view level.FolderListingAlgorithm
options_obsoleteBit flags that provide additional information on the extended expression.number
optionsBit flags that provide additional information on the extended expression.EXPRESSIONEXFLAGS
expression_object_typeThe ID of the object type to group-by in this view level.number
reference_directionTrue if the result objects are referred from this view level.boolean

Example

{
"expression": {
"type": 7 /* Enum: ExpressionType */,
"data": {
"property_value": {
"property_def": 0,
"data_function": {
"data_function": 9 /* Enum: DataFunction */,
"data": {
"year": {},
"month": {},
"year_and_month": {},
"date": {},
"days_from": {},
"days_to": {},
"integer_segment": {
"segment_size": 0
},
"left_characters": {
"count": 0
},
"initial_character_group": {
"lcid": 0
}
}
},
"parent_child_behavior": 2 /* Enum: ParentChildBehavior */
},
"id_segment": {
"segment_size": 0
},
"status_value": {
"type": 16 /* Enum: StatusType */,
"data_function": {} /* DataFunctionCall */
},
"file_value": {
"type": 8 /* Enum: FileValueType */
},
"typed_value": {
"datatype": 15 /* Enum: Datatype */,
"value_list": 0,
"data_function": {} /* DataFunctionCall */,
"parent_child_behavior": {}
},
"any_field": {
"options": {
"all": false,
"use_stemming": false,
"search_all_words": false,
"search_any_words": false,
"search_metadata": false,
"search_filedata": false
}
},
"permissions": {
"type": 6 /* Enum: PermissionsExpressionType */
}
},
"indirection_levels": [] /* Array of IndirectionLevel */
},
"show_folders_without_objects": false,
"show_empty_value_folder": false,
"show_objects_with_empty_value": false,
"property_folder_filter": [] /* Array of SearchCondition */,
"empty_value_folder_name": "<empty_value_folder_name>",
"show_only_user_selected_folders": false,
"subfolder_algorithm": 3 /* Enum: FolderListingAlgorithm */,
"options_obsolete": 0,
"options": {
"all": false,
"allow_empty_folders_for_missing_object_permissions": false,
"incompatible_with_full_text_search": false
},
"expression_object_type": 0,
"reference_direction": false
}