Version: 24.10
Overview
Structure and usage
transact-config.json
is the root-level configuration file.
Property | Description |
---|---|
configPath | string (SettingConfigPath)Specify which configs and fixtures to use. In the example below, "configPath": "development" specifies that src/configs/development is used for the configuration files and src/fixtures/development is used for the test data provided to the app in the development environment. |
configService | object (SettingConfigService)Activate the Config Service workflow, allowing architects to create/edit the app configuration using the Config Editor UI. |
idleTime | number (SettingIdleTime)Used to configure the session timeout. |
transactInsights | boolean (SettingTransactInsights)Activate the integration with Journey Analytics, allowing the app to send events to be displayed on Journey Analytics dashboards. |
Additionally, configuration options are provided for deployment.
Example
transact-config.json
{
"buildDir": "packages/workspaces/build",
"domainModelFile": "transact-schema.json",
"appDef": {
"name": "Applicants",
"formCode": "applicants",
"clientCode": "workspaces",
"configPath": "development",
"idleTime": 1860000,
"transactInsights": false,
"locale": "en",
"theme": {
"primary": {
"main": "#293276"
}
},
"formVersion": {
"versionNumber": "24.04"
}
}
}