K2 Runtime web.config File General Settings
The following General items are available in the K2 Runtime web.config file typically found at: C:\Program Files\K2\K2 smartforms Runtime\Web.config.
Node | Change permitted? | Description | Example or Default Value |
---|---|---|---|
Yes | Name or IP address of the K2 HostServer | Name used when installing K2 | |
Yes | Port used for Host Server | 5555 | |
Yes | Port used for workflow integration | 5252 | |
Copy
DefaultServiceInstanceGuid
|
No | Used for SmartBox installation by the installer | N/A |
Yes | Default Setting for K2 Designer Header. Default is expanded |
One of the following:
|
|
Yes | Default Setting for K2 Designer Navigation menu. Default is expanded |
One of the following:
|
|
Yes | SmartObject Execution Setting for localization. This setting should match the K2Server server's culture | The culture name in the format languagecode2-country/regioncode2. languagecode2 is a lowercase two-letter code derived from ISO 639-1. country/regioncode2 is derived from ISO 3166 and usually consists of two uppercase letters | |
Yes |
maxRequestLength - Maximum size of a file or Form definition that can be posted to the IIS server. This setting directly influences the file size that can be uploaded via the File and Image controls. executionTimeout - Time required to execute a request when loading a big file |
maxRequestLength - Noted in kilobytes (KB) executionTimeout - Noted in seconds |
|
No | Controls the options for the ID property added to a SmartObject on creation | ||
Copy
SMODefaultPropertySmartBoxValue
|
No | Controls the options for the ID property added to a SmartObject on creation | |
Copy
SMODefaultPropertyRequiredValue
|
No | Controls the options for the ID property added to a SmartObject on creation | |
No | Controls the options for the ID property added to a SmartObject on creation | ||
Yes | Controls the options for the ID property added to a SmartObject on creation | AutoGuid, DateTime, Decimal, Guid, HyperLink, Number, Text. Anything else is Autonumber. | |
Copy
Forms.Designer.SystemCategories
|
Yes* | This config value specifies the list of categories that are considered 'System' and are hidden when browsing in the designer unless 'System' is also not checked. | Semi-colon separated list of category paths |
Copy
Forms.Designer.Controls.Attachment.Blacklist
|
Yes | The list of file extensions that are not allowed in the file attachment, image attachment, and file upload controls. | Comma separated list of file extensions |
* You can change these values but it's not recommended |