Style Builder not opening

  • 15 February 2022
  • 0 replies
  • 8 views

Userlevel 5
Badge +20
 

Style Builder not opening

kbt162050

PRODUCT
K2 smartforms
TAGS
SmartForms Designer
Controls
SmartForms
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.
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

Issue

The Style Builder screen does not open when editing a style for a form or view control.

Symptoms

The browser's console displays the following JS error when clicking on Styles:
 
Invalid XML (cannot represent object as string).

Troubleshooting Steps

To resolve this issue, please complete the following steps:
  1. Run a network trace from the browser.
  2. Reproduce the issue.
  3. Click on the request which should open up the Style Builder: StyleBuilderDialog.aspx
  4. Under Preview/Body, a server error is actually returned:

    Image
  5. Make sure that NewtonSoft.json.dll is present in [...K2 blackpearlK2 DesignerBin].
  6. If it does not exist, you may copy the assembly from [...K2 blackpearlK2 smartforms RuntimeBin].
  7. Restart the K2 blackpearl service.
  8. Clear the browser cache and then check if the issue persists.

0 replies

Be the first to reply!

Reply