A template cannot be tested in its raw form. It is a mechanism by which reusable elements can be delivered to non-programmers. Before a component is constructed, an application must be created from which a template can be derived. Use Dashboard Studio to take generalized templates and turn them into applications.
To use the typical development process:
In Dashboard Studio, merge Blank_component.bqy into an editable source master (ESM) for testing.
Use the Dashboard Studio Merge Utility. See Merging Components.
Change the name of the blank merged component, and add language strings, constants, and JavaScript.
Include code in the Qiq_reset function.
Test the custom component, and update the JavaScript until the component functions correctly.
Make Dashboard Studio visible, and click Reset.
This calls Qiq_isSystem for the component before it removes any section. If the component requires a section to be kept, return true in this function. The framework removes these sections:
All query sections, and all other sections that depend on it
All sections with FrameType >= 1100, where the value in prototype labels is not the frame name or if the value Is Null
The framework calls Qiq_reset so that lists, labels, drop-down lists, and other controls are made clean.