WebFOCUS Online Help > Managed Reporting Developer > Creating Reporting Objects > Other Component

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

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:

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

  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.

    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

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

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 in filters they did not select, or users are not prompted to supply amper variable values in filters they did select. These scenarios are directly related to Amper Auto prompting expected behavior and the specification of values for the amper variables in the Reporting Object Other component using -DEFAULT or -SET commands. Setting a default value for amper variables in a report request is recommended to avoid a FOC error for not specifying a value. A consideration for -SET is that Amper Auto prompting does not prompt for amper variables that have values assigned using -SET.

It is recommended that you do not reference a parameter used in a Reporting Object filter in the Reporting Objects Other component. Parameters specified in the Reporting Objects Other component may still be prompted for, as they are evaluated by the WebFOCUS amper auto prompt facility.


WebFOCUS