Document Selector
Used to select a document from the document tree in Qubes.
Properties
| Property | Description |
| AutoCompleteMode | Defines how the selectors behave. There are two possible values: Start / Contains. |
| CoWriter | Filters for the document's co-writer (a list is possible). |
| DocType | Filters for the document type (a list is possible). |
| Enabled | Boolean indicating whether or not the component is enabled. |
| Folder | Filters for the document's folder (a list is possible). |
| ForInformation | Filters for one of the people informed about the document (a list is possible). |
| FormatDisplayValue | Macro string defining a display format for the text in the selector's text zone. Only the fields used to define display formats will be used to filter the elements in the selector list. |
| FormatSelectValue | Macro string defining a display format for an element in the selector list. These fields are not used to filter the elements in the selector list. |
| FormatResultValue | Macro string defining a format for the value returned by the selector. |
| Hint | Specifies the user hint string that will appear in the component's interactive help bubble. |
| PaperCopyManager | Filters for one of the owners of a hard copy (a list is possible). |
| SelectorColumns | List of fields to display as columns in the selector table that opens when the user clicks on a selector's button. |
| State | ID for the document's state (creation, application, etc.). Not advised; use the Status field, instead. |
| SubFolders | Boolean value indicating whether or not to search the sub-folders. |
| TabIndex | Integer indicating the component's tab order (Qubes 5.6). |
| ToApply | Filters for one of the document's appliers (a list is possible). |
| ToApprove | Filters for one of the document's approvers (a list is possible). |
| ToComment | Filters for one of the document's commenters (a list is possible). |
| ValueInitial | Determines the component's initial value when the screen opens and each time it is reset (see Reset Button). |
| Visible | Boolean indicating whether or not the component will be visible. |
| Writer | Filters for the document's owner (a list is possible). |
List of available fields
| Name | Description |
| NAME | Folder name |
| DESCRIPTION | Description of the folder |
| RUD | Unique document ID |
| MAJOR | Major version number |
| MINOR | Minor version number |
| TYPE | Type of document |
| WRITER | Owner |
| COWRITER | Co-writer |
| STATUS | Status |
| CREATION_DATE | Creation date |
| APPLICATION_DATE | Application date |
| EXPIRATION_DATE | Expiration date |
Value
The component returns the value defined by the FormatResultValue property, if the selection is valid; if not, it will return an empty string.