The Metadata component provides two frame prototypes for which is configured. Use the prototypes as the basis for creating a template. These Metadata frame prototypes are also available in the Frame_Library.bqy in the templates folder.
Metadata can also be accessed by using one of these methods:
Add to frames
Extend the Help feature
In this procedure, add and configure to access to metadata.
To add and configure
(Metadata):
In Interactive Reporting Studio, open a dashboard that contains the Metadata component.
Select the frame on which to add the button, and press Ctrl+D to enter Design mode.
From the catalog pane, expand Graphics, and drag a picture object onto the frame.
Navigate to Metadata.bmp in the Metadata component directory, and position the button on the dashboard toolbar.
Double-click the button.
Properties is displayed.
Enter pic^Qiq_metadata as the object name, and click OK.
Select the button, right-click, and select Scripts.
Scripts Editor is displayed.
In Scripts Editor, perform an action:
Enter this line of code
ActiveDocument.Sections[txlMe.Text].Qiq_onControlClick(this.Parent,this)
Copy and paste the line of code from another button on the toolbar to avoid data entry errors
Click OK.
Optional: Add, configure, and name the corresponding gray button for the not selectable state.
Press Ctrl+D to exit Design mode.
In this procedure, the Help feature is extended to enable access to metadata.
To extend the Help feature:
In Interactive Reporting Studio, open a template that contains the Metadata component.
Select View, then Unhide Section.
Select 1100 Custom Metadata and 1100 Custom, and click OK.
From Sections, select 1100 Custom Metadata.
Press Ctrl+D to enter Design mode.
Right-click , and select Scripts.
Scripts Editor is displayed that contains code that must be added to the 1100 Custom frame.
In Scripts Editor, select the code, and press Ctrl+C to copy.
Click OK.
Move to 1100 Custom, right-click , and select Scripts.
In Scripts Editor. select the code, and press Ctrl+V to paste the code copied from the previous frame.
Click OK, and press Ctrl+D to exit Design mode.
On 1100 Custom, click , to initialize the code.
Clicking on every frame of type 1100 (that is, every frame that does not contain
) provides access to the metadata table.
From Sections, select 1100 Custom, and select View, then Hide Section.
From Sections, select 1100 Custom Metadata, and select View, then Hide Section.
Save the template.