- 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]
- Getting started
- Use cases
-
API
- Object types
- Data types
-
Global constants
- Application
- ApplicationUserProfile
- ApplicationWithBatcher
- ApplicationWithParams
- BrandingSettings
- CompanyInfo
- Converter
- Directories
- Files
- HttpApiHandler
- HttpApiRequest
- ICache
- IStorage
- MailMessage
- Mailbox
- OrganisationStructure
- OrganisationStructureTree
- Portal
- PortalPageInfo
- PortalSettings
- Portals
- Process
- Processes
- ProductionSchedule
- Reminders
- Replacements
- Serial
- ServerCollection
- Service
- SignupUrlParams
- SystemCollections
- SystemCollectionsWithEvents
- SystemCollectionsWithFilterEvents
- Templater
- Translator
- UserGroups
- Users
- Watermarks
- Report
- Reports
- SR
- Work with apps
- Web requests
- Access permissions
- Document flow
- Live Chats
- “Code” widget
- Signatures
- Business calendars
- Integration with IP telephony
- Integration with email marketing services
Templater object
Used to process text templates.
Hierarchy
Methods
generateText
The method iterates through a template and fills it out with values from the context of the app item you pass.
Parameters
item: RefItem
template: string
Returns Promise<string>
Result of iterating with a templater.
parseSpreadsheet
The method analyzes .xls, .xlsx, and .csv files.
Parameters
file_id: string
Optional options: ParseSpreadsheetOptions
Returns Promise<ParseSpreadsheetResponse>
Pages and only filled out rows and cells.
Example of calling the analyzer:
const file_id = file.id const options: ParseSpreadsheetOptions = { separator: ';' }; const text = await System.templater.parseSpreadsheet(file_id, options);
The result in JSON:
Here
pages
is a collection of sheets in the file,rows
is a collection of rows on a sheet, andcells
is a collection of cells in a row.Methods