The LiveView Configuration File Editor opens to edit an existing lvconf file under the following circumstances:
From the LiveView Project Viewer:
Double-click an icon.
Right-click an icon and select.
Double-click an existing lvconf file in the
src/main/liveviewfolder of a LiveView fragment project in StreamBase Studio.
It is a best practice to use one of the LiveView Project Viewer wizards to create your LiveView artifacts and their underlying lvconf files. The Project Viewer creates the required lvconf files for each wizard, and automatically connects them to your data tables and/or data sources.
Advanced users may prefer to open a new, empty lvconf file, and certain advanced lvconf files are not created by a wizard and must be opened manually. This procedure is described on LVconf Editor: Open New.
The LiveView Configuration File Editor presents the lvconf file under edit as a form with fields to be filled in, in two or more tabs. Edits made in the fields of any tab are automatically reflected in the underlying XML source file. You can view the XML source anytime using the Source tab.
The editor reads and stores the same XSD-defined XML format as the text-based editor, but greatly improves and accelerates your ability to create and maintain lvconf files without constant reference to the XSD specification in the LiveView Configuration XML Reference.
Every field in the form view has pop-up help text when you hover the pointer in or over each field. This is the same help text found in the lvconf XSD specification reference.
The valid features for each lvconf type are organized into tabs along the bottom of the visual editor window. The last tab for each form provides a Source view, which allows you to view and edit the underlying XML file you are editing. Edits made in the Source view are immediately reflected on the forms tabs. However, the Source view is not itself a validating XML editor, but relies on the various forms tabs to validate the lvconf file being edited.
You can use the Source tab (or the text-based XML editor) to enter the elements of advanced features that are not supported with a form field in the visual editor. As long as the elements and attributes you enter are valid against the lvconf XSD file, they are accepted by the visual editor, even when there is no form to display such changes.
The LiveView Configuration File Editor does not support either XML comments or Xinclude processing instructions.
If any lvconf file in your existing projects includes XML comments in
<!-- -->blocks, such comments are not preserved when the lvconf file is opened and saved in the forms-based editor.
Instead, use the
short-descriptionattributes of the
<data-table>element to annotate your files, using the Description and Short Description fields on the Data Table tab of the forms-based editor.
The LiveView Configuration File Editor does not support the Xinclude processing instruction described in Using xinclude Processing Instructions.
When you open an lvconf file that Xincludes another XML file, Studio shows the following warning message. When you click, Studio opens the file in the text-based validating XML editor, and marks the file to open again in that editor the next time you open it.
For features not supported by the LiveView Configuration File Editor editor, use the text-based validating XML editor. To access the validating text-based XML editor directly, select an lvconf file in the Project Explorer view, right-click, and select > .