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

  1. Edit the K2 SmartForms Form or View using the K2 Designer Editor:

    Image

  2. Press F12 to open the Browsers Developer Console and navigate to the Console Tab:

    Image

  3. 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

    Image

Please note: The following command can also be used since K2 Five is released:

SourceCode.Forms.Designers.Common.getDefinitionXML().xml