Extracting K2 SmartForms Definition
KBS100140
PRODUCTK2 Five 5.0 to 5.1
K2 blackpearl 4.7
BASED ONK2 Five 5.1
TAGSDebugging
SmartForms Designer
SmartForms
Designer
Developer
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
To extract the K2 SmartForms View or Form definition using the browsers' F12 Developer Console window, for debugging purposes.Symptoms
If you are facing SmartForms Designer issues, this will assist the K2 Support and K2 Development team.Troubleshooting Steps
- Edit the K2 SmartForms Form or View using the K2 Designer Editor:
Press F12 to open the Browsers Developer Console and navigate to the Console Tab:
- In the console, type the following and press ENTER:
For K2 SmartForms Form:
SourceCode.Forms.Designers.Form.definitionXml.xml
For K2 SmartForms View:
SourceCode.Forms.Designers.View.viewDefinitionXML.xml
Please note: The following command can also be used since K2 Five is released:
SourceCode.Forms.Designers.Common.getDefinitionXML().xml