In this section: How to: |
The main steps for integrating the Report Library are:
The following input controls provide additional options to display the content list from Report Library: Drop Down List, List Box, Check Box, Radio Button, and Tree Control.
The Report Library includes secure access to library content and the ability to save multiple versions of the same output. When integrating Report Library in HTML Composer, you may create a static list of values from Report Library (including all versions of that report that are currently in the library).
The cursor changes into a crosshair.
A report or graph object is created in the layout and assigned the name report(n), or graph(n), where n is a number.
Note: Only the input controls mentioned above provide options to display the content list from Report Library.
The input control object is created in the layout and assigned the name object(n), where n is a number. For example, combobox(n), listbox(n), checkbox(n), radio(n), treecontrol(n).
The Properties and settings dialog box appears for the control.
Static is selected by default.
You may create a static list of values from Report Library (including all versions of that report that are currently in the library).
The Report Library content is retrieved in the Display column of the Properties and settings dialog box, as shown in the following image.
The Report Library content is retrieved in the Display column of the Properties and settings dialog box, as shown in the following image.
Running the HTML page shows the input control with the Report Library static list, as shown in the following image.
This step requires that you create hyperlink properties. You can create hyperlink properties by inserting an image, hyperlink, button, or frame.
Library only appears if a static or dynamic list of values was created for Report Library on the Parameters tab.
The Target Type option does not appear on the Hyperlink Properties dialog box if you are inserting a frame as the hyperlink. Frame is the default target for a frame object.
The Target/Template option does not appear on the Hyperlink Properties dialog box if inserting a frame as the hyperlink. Clicking the input control automatically populates the report at run time.
The following image shows the Hyperlink Properties dialog for a button that retrieves content from the Library and displays that content in the report1 object when clicking a value from the drop-down list.
Creating a dynamic list of values uses the default Custom library JSP from WebFOCUS to load the Report Library content.
The cursor changes into a crosshair.
A report or graph object is created in the layout and assigned the name report(n), or graph(n), where n is a number.
Note: Only the input controls mentioned above provide options to display the content list from Report Library.
The input control object is created in the layout and assigned the name object(n), where n is a number. For example, combobox(n), listbox(n), checkbox(n), radio(n), treecontrol(n).
The Properties and settings dialog box appears for the control.
The dynamic value options appear.
The following image shows the dynamic library options on the Properties and settings dialog box.
When Sort is enabled, you may select the Sort by and Sort order options for the control.
Note: Values are case-sensitive.
Running the HTML page shows the input control with the Report Library dynamic list, as shown in the following example.
This step requires that you create hyperlink properties. You can create hyperlink properties by inserting an image, hyperlink, button, or frame.
Library only appears if a static or dynamic list of values was created for Report Library on the Parameters tab.
The Target Type option does not appear on the Hyperlink Properties dialog box if you are inserting a frame as the hyperlink. Frame is the default target for a frame object.
The Target/Template option does not appear on the Hyperlink Properties dialog box if you are inserting a frame as the hyperlink. Clicking the input control automatically populates the report at run time.
The following image shows the Hyperlink Properties dialog box for a hyperlink that retrieves content from the Library and displays that content in the report1 object when clicking a value from the list box.
How to: |
When creating a report in Report Painter with the HTML output format, the Table of Contents options are enabled for a report when using the On Demand Paging feature. The combination of using the Table of Contents with On Demand Paging displays at run time when the report is used in HTML Composer.
Running a report with a Table of Contents and On Demand Paging outside of HTML Composer shows only On Demand Paging.
Integrating a report with a Table of Contents and On Demand Paging in HTML Composer requires that you create an input control as a placeholder for the Table of Contents at run time. Selecting the TOC option for the input control on the Properties and settings dialog box enables the Table of Contents to appear on the HTML page. This permits both the Table of Contents and On Demand Paging features to display at run time. When these specific reports are retrieved, the Table of Contents is extracted from the report and displayed separately (from the report) on the HTML Composer page, but still maintains its ability to interact with the report.
When importing or referencing a report using On Demand Paging, the full navigational toolbar may not be viewable in the report output. You must resize the report frame in the HTML Composer Design View to display the full On Demand Paging navigational bar and view the toolbar correctly at run time.
Integrating a report with a Table of Contents and On Demand Paging in HTML Composer is limited to the following input controls: Drop Down List, List Box, Check Box, Radio Button, and Tree Control.
This procedure describes how to create an additional input control for retrieving the Table of Contents, if you are using a report with a Table of Contents and On Demand Paging in HTML Composer.
The TOC option also appears when accessing HTML Composer from the Data Servers and Projects on localhost areas of Developer Studio.
The cursor changes into a crosshair.
A report object is created in the layout and assigned the name report(n), where n is a number. This object may be populated with a report from Report Library, or a procedure (containing a Table of Contents and On Demand Paging) can be opened, imported, or referenced.
Integrating a report with a Table of Contents and On Demand Paging in HTML Composer is limited to the following input controls: Drop Down List, List Box, Check Box, Radio Button, and Tree Control.
The input control object is created in the layout.
Tip: If you are creating an input control for static or dynamic list values from a Report Library, the Table of Contents input control should be a separate, additional control on the HTML page.
The Properties and settings dialog box appears for the control.
The available TOC objects appear in the drop-down list.
This option must be enabled for a report that contains a Table of Contents, as it ensures the HTML page displays both the Table of Contents and On Demand Paging features at run time.
The Table of Contents and On Demand Paging appear at run time, as shown in the following image. The Table of Contents from the report appears in the list box placeholder, and the On Demand Paging feature appears within the report.
WebFOCUS |