Smartforms Rules show a blank popup after trying to add new rules

  • 16 February 2021
  • 0 replies
  • 8 views

Userlevel 5
Badge +20
 

Smartforms Rules show a blank popup when trying to add new rules

kbt143003

PRODUCT
K2 Five
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.

Issue

When adding in a rule on K2 Designer, a problem appears when saving.
You cannot add new rules to an existing form. After clicking the OK button, the rule editor closes and after a slight pause,  a blank version of the rule designer popup appears.

 

Image

 

Symptoms

This behaviour occurs due to large amounts of rules configured on forms and views.

 

By increasing the MaxRequestLength,maxQueryString and maxAllowedContentLength you can resolve this issue.

Resolution

Add or change the below entries in
C:Program Files (x86)K2 blackpearlK2 smartforms Designerweb.config

 

1. maxRequestLength changed from 1500000 to 52428800
    <httpRuntime maxRequestLength="52428800" requestValidationMode="2.0" enableVersionHeader="false" sendCacheControlHeader="false" executionTimeout="320" />
2. maxQueryString set to 2147483648
3. Added maxAllowedContentLength="2000000000"
  <requestFiltering allowDoubleEscaping="true">
        <verbs allowUnlisted="false">
          <add verb="GET" allowed="true" />
          <add verb="POST" allowed="true" />
          <add verb="HEAD" allowed="true" />
        </verbs>  
      <requestLimits maxQueryString="2147483648" maxAllowedContentLength="2000000000"/>
      </requestFiltering>

 

Please perform a backup of the web.config before changing the entries!

 

 

 


0 replies

Be the first to reply!

Reply