Configuration Descriptor: Web Utilities
This key contains the bundle name that contains the configuration specific to Web Contents.
Config Key | Mandatory/ Optional | Type | Purpose |
---|---|---|---|
JSCONFIG_XML | Mandatory | String | This key is used to provide the XML name containing the list of Sigma script configuration files. The file must follow the following template:<jsfiles><fileset id="<WORKSPACE_ID>"><file url="<FILE_NAME_WITH_CONTEXT_PATH>">.....</file></fileset></jsfiles> All the files referenced within the ondemandJSfiles.xml file will be monitored for any type of content modification. The modifications will be rendered on refresh or re-login without the need of restarting the application server. |
COMPRESS_JS_FILES | Mandatory | Boolean | This key is used to decide whether Canvas must compress the JS or not. Default value is Y. |
COMPRESS_CSS_FILES | Mandatory | Boolean | This key is used to decide whether Canvas must compress the CSS or not. Default value is Y. |
COMPRESS_FILE_PATH | Mandatory | String | This key is used to set the path of the compressed file. |
CT_ENABLE_DEEPLINKING | Mandatory | Boolean | This key is used to enable or disable deep-linking in Hybrid app. Default value is Y. |
COMPILE_SASS_ON_BUILD | Optional | Boolean | This Key will perform SASS compilation during build time. |
The following is a sample web utility configuration Sigmawebutilconfig.properties (as per the name given in the default descriptor):
# The xml name containing the list of On Demand JS file ############################################################################## #The following file should follow the template - <jsfiles><fileset id="<WORKSPACE_ID>"><file url="<FILE_NAME_WITH_CONTEXT_PATH>">.....</fileset></jsfiles> JSCONFIG_XML=SigmaScriptConfig.xml #The following configuration contains the flag to enable JS compression. Defaults to Y COMPRESS_JS_FILES=N #The following configuration contains the flag to enable CSS compression. Defaults to Y COMPRESS_CSS_FILES=N #The following property would do sass compilation at build time and stop runtime/start-time sass compilation Defaults to Y COMPILE_SASS_ON_BUILD=N #The following flag is used to set the path of the compressed file. #This path configured should be relative to the root path that is configured as CT_WORK_FOLDER_PATH in implementation property file. COMPRESS_FILE_PATH=/Resources # This property enables/disables deep-linking in Hybrid app. Defaults to Y CT_ENABLE_DEEPLINKING=Y # SKIP TEMPLATE COMPILATION SKIP_TEMPLATE_COMPILATION=Y