Preview of the form definition (XML)
Tab Source allows viewing and editing the technical definition of the form (also a composite component and business) in the format XML. It provides direct access to the template structure, making it possible to inspect or modify elements that are not available in the standard editor view.
Features
XML definition preview
Displays the full form structure, including:
application steps and pages (
<system:Page>),base and composite components,
definitions of visibility and listening conditions (
<data:ListeningOn>,<data:ClearOn>),grid layout (
<system:Page.layout>),translations (
titleKey,labelKey).
Manual editing
In the Source you can edit the application's XML code—for example, adjust layout parameters, change the number of columns, or add attributes not present in the graphical interface.
This is especially useful when working with more advanced properties, such as:
numColumns– number of columns on the page,horizontalSpan– the component width in columns.
Validation
The system automatically validates XML syntax, and errors (e.g. missing closing tags, incorrect attributes) are flagged in the editor.
If a save error occurs, the form will not be saved in the repository.
Example code snippet in the Source tab
The above code shows the definition of the form page with identifier 'Page3' with one label component 'GesText3' and a page layout in 12 columns.
Best practices
Editing in the tab Source should be done carefully - preferably after saving the current version of the form.
Before making changes, it is worth checking their impact on the form in the tab Request.
Use cases
Changing the number of columns (
numColumns), when it is not available in the graphical interface.Moving page or component definitions between forms.
Finding dependencies of a given component before deleting it.
FAQ
Are changes made in Source visible immediately? Yes, changes are visible after saving or switching to another editor tab.
Can only a fragment of XML be edited? Yes, any element can be edited - both a component and an entire page block - as long as the syntax is valid.
Does the Source tab also show translations and styles?
Yes, translation keys are visible (*.labelKey, *.titleKey) as well as CSS classes associated with components or pages.

Last updated
Was this helpful?
