Other Component

How to:

Reference:

You can use the text editor in the Other component to create and edit reporting object procedures. Access the Other component from the Reporting Objects window.

See the Creating Reports With WebFOCUS Language manual for more information about using the WebFOCUS language to code procedures.

Note:


Top of page

x
Procedure: How to Create a Reporting Object With the Other Component in Domain Builder
  1. In a subfolder under Reporting Objects, click New Reporting Object and then New Reporting Object again, as shown in the following image:

    Subfolder image

    The New Reporting Object window opens, as shown in the following image. Follow the upcoming steps.

    The New Reporting Object window

  2. Enter a report name and select the server, an application, and a data source for your report. You can also choose one or more of the following options:
    • Prompt for Parameters. To prompt the user to supply a value (parameter) when the Reporting Object is used to create a My Report.
    • Show as Standard Report. To list the Reporting Object under the Standard Reports tab in addition to the Reporting Objects tab in the Domains environment. A user can then run the Reporting Object as if it was a Standard Report.
    • Show Only as Standard Report. To display the Reporting Object under the Standard Reports tab in the Domains environment.
    • Run with OLAP. To OLAP-enable the Reporting Object.
    • Only Run as a Deferred Report. To always submit this report in deferred mode.
    • Use InfoAssist to create components. To only provide the InfoAssist reporting tool to open this Reporting Object in Business Intelligence Dashboard.

    The Reporting Object window opens.

  3. Click Other and then Open to open the text editor. Enter your code and click Save.
  4. When you close the tool, your report is saved in a folder under Reporting Objects in the browser.

Top of page

x
Procedure: How to Edit and Run a Reporting Object Using the Text Editor in Domain Builder
  1. Right-click the report you want to edit. Click Open to access the Reporting Object window. Click the Other component.
  2. Click Open or Edit to open your file in the text editor. Make your edits.
  3. Click Save in the text editor to save your changes. The Reporting Object window opens.
  4. Click Done. You will be prompted to save your changes.

    Note: You cannot run a Reporting Object from the text editor. You must click Run in the Reporting Object window or right-click your report in the browser and click Run.


Top of page

x
Reference: Other Component Considerations With Amper Auto Prompting

When using Amper Auto prompting, there are scenarios when users are prompted to supply amper variable values for parameters that the My Report owned by the user does not reference. These scenarios are directly related to the internal processing of My Reports based on Reporting Objects.

Auto prompting considerations and expected behavior must be understood when referencing amper variables within a Reporting Object. For information on the Amper Auto prompting facility, see the Developing Reporting Applications manual. The specification of values for the amper variables in the Reporting Object Other component using –DEFAULT, –DEFAULTH, or –SET commands will assign a default value for amper variables in a report request to avoid a FOC error for not specifying a value. A consideration for –DEFAULTH and –SET is that Amper Auto prompting does not prompt for amper variables that have values assigned using –DEFAULTH and –SET.

Whether a user is prompted by the Amper Auto prompting facility for amper variables assigned a default value using the –DEFAULT command is dependent on the setting of the WebFOCUS Client configuration parameter, IBIMR_prompting. When IBIMR_prompting is set to XMLPROMPT, users are prompted for amper variable values and defaults will be displayed in fields where the default values have been specified. When IBIMR_prompting is set to XMLRUN, users are not prompted for variables when all amper variables have been assigned a default value. For more information on setting the IBIMR_prompting parameter, see the WebFOCUS Security and Administration manual.


WebFOCUS