Source Code Editor
Last updated
Last updated
It is possible to switch views in Studio from design view to code view. In code view, the code (xml) is presented instead of the graphical representation of it. Code view can help fixing corrupt files which cannot be rendered graphically, allow easy copy of file content and even allow for a quick search and replace.
Working in code editor should be done with care since an error in the code can cause an invalid xml and thus no longer making it possible to be presented graphically.
To enter Code view, open a workflow and then either right-click and select “View Code” or use the short key F7.
The view will now switch to code view and present the workflow as code instead of design view. To enable editing of code, click the edit button located in the top menu. (Note that workflow must be in edit mode as well for any changes to be possible.)
When changes are made, click the “Apply Changes” in the top menu to save. To switch back to designer view, rick-click and select “View Designer” or use short key F7.
The code view has some built in error handling to help showing and correcting errors. If an error is detected, a message regarding this will be presented and point to where the error occurs. This should help to quickly locate where and what the error is.