Skip to main content
Nintex Community Menu Bar

K2 Five (5.5) Style Profile Designer does not load and remains stuck with spinner on create/edit

  • February 16, 2021
  • 0 replies
  • 175 views

Forum|alt.badge.img+10

Issue

When attempting to create a new Style Profile or edit an existing Style, the Designer does not load and gets stuck with the Spinner animation.
24959i64AFB0CD2F773FB6.jpg

Error Code

When Viewing the Browser Developer Console, the following errors are shown:

polyfills.bundle.js?_v=5.1014.22076.4:1 Uncaught TypeError: Cannot read properties of undefined (reading 'getCategoryInfo') at Object.init (sourcecode.Forms.designers.styleprofile.js?_v=5.1014.22076.4:91:23) at Object.success (sourcecode.Forms.interfaces.appstudio.js?_v=5.1014.21209.5:5662:59) at fire (jquery.js?_v=5.1014.21209.5:3047:30) at Object.fireWith [as resolveWith] (jquery.js?_v=5.1014.21209.5:3159:7) at done (jquery.js?_v=5.1014.21209.5:8184:14) at XMLHttpRequest.<anonymous> (jquery.js?_v=5.1014.21209.5:8531:9) at XMLHttpRequest.E (polyfills.bundle.js?_v=5.1014.22076.4:1:54454) at t.invokeTask (polyfills.bundle.js?_v=5.1014.22076.4:1:45782) at e.runTask (polyfills.bundle.js?_v=5.1014.22076.4:1:40960) at e.invokeTask [as invoke] (polyfills.bundle.js?_v=5.1014.22076.4:1:46872) polyfills.bundle.js?_v=5.1014.22076.4:1 Uncaught TypeError: Cannot read properties of undefined (reading 'isDisplayNameUniqueInCategory') at Object._validateName (sourcecode.Forms.designers.styleprofile.js?_v=5.1014.22076.4:717:71) at Object.<anonymous> (sourcecode.Forms.designers.styleprofile.js?_v=5.1014.22076.4:322:30) at Object._executeCallback (sourcecode.Forms.designers.styleprofile.js?_v=5.1014.22076.4:626:33) at Object._checkout (sourcecode.Forms.designers.styleprofile.js?_v=5.1014.22076.4:611:19) at Object._onPropertyChanged (sourcecode.Forms.designers.styleprofile.js?_v=5.1014.22076.4:319:22) at Object._onEventRaised (sourcecode.Forms.designers.styleprofile.js?_v=5.1014.22076.4:214:22) at r.proxy (jquery.js?_v=5.1014.21209.5:516:14) at r.dispatch (jquery.js?_v=5.1014.21209.5:4371:9) at elemData.handle (jquery.js?_v=5.1014.21209.5:4057:28) at t.invokeTask (polyfills.bundle.js?_v=5.1014.22076.4:1:45782)

Resolution

The issue is caused when the default Resource Bundling setting has been changed in the K2 Designer web.confing file.

 

In the C:Program FilesK2K2 smartforms Designerweb.config file, verify that the following keys has a value="true":
<add key="UseBundledFiles" value="true" />
<add key="UseMinifiedFiles" value="true" />
<add key="Forms.PostRenderCombining.Enabled" value="true" />
<add key="Forms.CombinedResources.Cache.Enabled" value="true" />
<add key="Forms.Client.Themes.Cache.Enabled" value="true" /> 

Additional Information

In older versions of K2, Resource Bundling may have been turned off to address other issues, but with K2 5.5 this needs to be reverted for the Style Profile Designer to function correctly. 

 

Related Links