Skip to main content

Version: 24.04

Overview

Structure and usage

transact-config.json is the root-level configuration file.

PropertyDescription
configPathstring (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.
configServiceobject (SettingConfigService)
Activate the Config Service workflow, allowing architects to create/edit the app configuration using the Config Editor UI.
idleTimenumber (SettingIdleTime)
Used to configure the session timeout.
transactInsightsboolean (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"
}
}
}