Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Config Key

Mandatory/ Optional

Type

Purpose

JSCONFIG_XML

Mandatory

String

This key is used to provide the XML name containing the list of

On Demand JS files, which contains the canvas apps JS class

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>

Info

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.

The following is a sample web utility configuration webutilconfigSigmawebutilconfig.properties (as per the name given in the default descriptor):

Code Block
languagebash
# 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=ondemandjsfiles_libSigmaScriptConfig.xml 

# The following configuration contains the flag to enable JS compression. 
# The default is Y.
COMPRESS_JS_FILES=N 

# The following configuration contains the flag to enable CSS compression. 
# The default is Y.
COMPRESS_CSS_FILES=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. 
# The default is Y.
CT_ENABLE_DEEPLINKING=Y

...