Extracting K2 SmartForms Definition

  • 15 February 2022
  • 0 replies
  • 104 views

Userlevel 5
Badge +20
 

Extracting K2 SmartForms Definition

KBS100140

PRODUCT
K2 Five 5.0 to 5.1
K2 blackpearl 4.7
BASED ON
K2 Five 5.1
TAGS
Debugging
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

  1. 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:


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


0 replies

Be the first to reply!

Reply