- Home [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
- Manage types
- Global context and isolation
- Manage apps
- Batch actions with app items
- Manage external services
- Scripts in widgets
- Web components
- Access permissions
- Getting started with processes
- Getting started with signatures
- Getting started with file previews
- Getting started with the organizational chart
- Getting started with users and groups
-
Getting started with the
Table data type - Dynamic calculation of event type
- Use cases
-
API
- Object types
- Data types
- Global constants
-
Work with apps
- ApplicationBatchDeleteBuilder
- ApplicationBatchSaveBuilder
- ApplicationBatchSaver
- ApplicationBatchUpdateBuilder
- ApplicationBatchUpdater
- ApplicationBatcher
- ApplicationFieldOperand
- BaseFieldOperand
- BaseGlobalFilters
- ComparableFieldOperand
- ContextOperand
- DirectoriesSearch
- DocflowSettings
- FieldArrayOperand
- FieldOperand
- FilesSearch
- FolderSettings
- GlobalFilters
- GlobalFiltersWithWhere
- LineApplicationFieldOperand
- MailMessageSearch
- NomenclatureRegistrationSettings
- OrganisationStructureSearch
- PhoneFieldOperand
- ProcessInstanceSearch
- ProcessInstanceTaskSearch
- RefItemFieldOperand
- RegistrationSettings
- ReminderSearch
- ReplacementSearch
- ReportSearch
- ResetSettings
- Search
- SerialData
- SerialSettings
- SignatureSettings
- StatusHistorySearch
- StringFieldOperand
- TDocTemplate
- TFolder
- TNomenclature
- TNomenclatureDirectory
- TSettings
- UpdateOperations
- UserGroupSearch
- UserSearch
- Web requests
- Access permissions
- Document flow
- Live Chats
- “Code” widget
- Signatures
- Business calendars
- Integration with IP telephony
- Integration with email marketing services
Folder
Hierarchy
Properties
Readonly __createdAt
Date and time of creation.
Readonly __createdBy
Object’s author.
Optional Readonly __deletedAt
Date and time of deletion.
Readonly __dirname
Full name of the folder including the hierarchy of all offices and categories it is included in.
Readonly __id
ID of the object.
__name
Name of the object.
Readonly __updatedAt
Date and time of change.
Readonly __updatedBy
Author of the last change.
Readonly directoryID
ID of the parent office/category.
Readonly settings
Folder settings.
Methods
getDirectory
The method returns the current category and/or office.
Let's see how to use the method to get the directory of the folder, specified in the registration settings. To obtain it, the app item is required. In this script, it is stored in the context.
const settings = await Application.getSettings(); const nomenclatures = await settings.registrationSettings.getNomenclatures(); const nom = nomenclatures[0]; const directory = await nom.getDirectory();
Returns Promise<TNomenclatureDirectory>
Folder directory.
getSerial
The method returns a counter.
In this example, the method is used to retrieve the serial number of the first folder specified in the registration settings. To obtain it, an app item is required. In this script, the item is stored in the context.
const settings = await Application.getSettings(); const nomenclatures = await settings.registrationSettings.getNomenclatures(); const nom = nomenclatures[0]; const serial = await nom.getSerial();
Returns Promise<SerialData>
Folder counter.
Properties
Methods