Style Builder not opening
kbt162050
PRODUCTK2 smartforms
TAGSSmartForms 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:
- Run a network trace from the browser.
- Reproduce the issue.
- Click on the request which should open up the Style Builder: StyleBuilderDialog.aspx
- Under Preview/Body, a server error is actually returned:
- Make sure that NewtonSoft.json.dll is present in [...K2 blackpearlK2 DesignerBin].
- If it does not exist, you may copy the assembly from [...K2 blackpearlK2 smartforms RuntimeBin].
- Restart the K2 blackpearl service.
- Clear the browser cache and then check if the issue persists.