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 |
---|---|---|---|
<add key="HostName" value="k2.denallix.com" /> |
Yes | Name or IP address of the K2 HostServer | Name used when installing K2 |
<add key="HostPort" value="5555" /> |
Yes | Port used for Host Server | 5555 |
<add key="WorkflowPort" value="5252" /> |
Yes | Port used for workflow integration | 5252 |
<add key="DefaultServiceInstanceGuid" value="e5609413-d844-4325-98c3-db3cacbd406d" /> |
No | Used for SmartBox installation by the installer | N/A |
<add key="CollapsedHeader" value="false" /> |
Yes | Default Setting for K2 Designer Header. Default is expanded |
One of the following:
|
<add key="CollapsedNavigation" value="false" /> |
Yes | Default Setting for K2 Designer Navigation menu. Default is expanded |
One of the following:
|
<add key="SmartObject.ExecutionCulture" value="en-US" /> |
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 |
<httpRuntime maxRequestLength="16384" executionTimeout="320" /> |
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 |
<!--<add key="SMODefaultPropertyKeyValue" value="true"/>-->
|
No | Controls the options for the ID property added to a SmartObject on creation | |
<!--<add key="SMODefaultPropertySmartBoxValue" value="true"/>-->
|
No | Controls the options for the ID property added to a SmartObject on creation | |
<!--<add key="SMODefaultPropertyRequiredValue" value="false"/>-->
|
No | Controls the options for the ID property added to a SmartObject on creation | |
<!--<add key="SMODefaultPropertyUniqueValue" value="true"/>-->
|
No | Controls the options for the ID property added to a SmartObject on creation | |
<!--<add key="SMODefaultPropertyTypeValue" value="AutoGuid"/>-->
|
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. |
<add key="Forms.Designer.SystemCategories"
value="Active Directory;System;System\Controls; System\Controls\Image;System\Controls\Save as PDF; System\Management;System\Management\Security; System\Management\Security\Forms; System\Management\Security\SmartObjects; System\Management\Security\Views; System\Reports;Task Allocation; Workflow\Steps;Workflow Notifications;Workflow Notifications\Management Events;Workflow Notifications\Runtime Events;Workflow Reports;Workflow Reports\Workflow General;Workflow Reports\Workflow Solutions;Exchange" /> |
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 |
<!--<add key="Forms.Designer.Controls.Attachment.Blacklist" value="ade,adp,app,asa,ashx,asmx,asp,aspx,bas,bat,cdx,cer, chm,class,cmd,cnt,com,config,cpl,crt,cs,csh,der,dll,exe,fxp, gadget,grp,hlp,hpj,hta,htr,htw,ida,idc,idq,inf,ins,isp,its,its,jar, javascript,jscript,js,jse,json,ksh,lib,lnk,mad,maf,mag,mam, maq,mar,mas,mat,mau,mav,maw,mcf,mda,mdb,mde,mdt, mdw,mdz,msc,msh,msh1,msh1xml,msh2,msh2xml,mshxml, msi,ms-one-stub,msp,mst,ocx,ops,pcd,pif,pl,plg,prf, prg,printer,ps,ps1,ps1xml,ps2,ps2xml,psc1,psc2,pst, pst,reg,reg,scf,scr,sct,sct,shb,shs,shs,shtm,shtml, soap,stm,svc,sys,tmp,url,vb,vbe,vbs,vbscript,vxd,vscript, vsix,vsmacros,vsw,ws,wsc,wsf,wsh,xamlx,xnk" />--> |
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 |