Managed Reporting Internal Variables

There are several variables related to Managed Reporting processing that you can pass to the WebFOCUS Reporting Server. This may be useful for controlling processing flow or for display purposes in the report output. You can do this by configuring the <set> variablename(pass) commands in the WebFOCUS Administration Console. Useful variables include:


Top of page

Example: Using Managed Reporting Internal Variables

Log into the WebFOCUS Administration Console and select Custom Settings from the Configuration menu. Paste the following lines at the bottom of this file (you must not write over the existing lines in this file, and this file must begin with the <VER> line).

<set> IBIMR_user(pass)
<set> IBIMR_domain(pass)
<set> MR_FULL_FEXNAME(pass)
<set> MR_ITEM_HANDLE(pass)

Click Save to write these lines to site.wfs. You do not need to reload your Web application for this change.

Next, log into Managed Reporting and create a standard report called test2 in the default domain with the editor. Paste the following lines into it:

-TYPE IBIMR_user = &IBIMR_user
-TYPE IBIMR_domain = &IBIMR_domain
-TYPE MR_FULL_FEXNAME = &MR_FULL_FEXNAME
-TYPE MR_ITEM_HANDLE = &MR_ITEM_HANDLE

Save the report. Now right-click the report and select Properties from the context menu. Deselect the Prompt for Parameters option. Change the description to Test 2 Description. Save these changes. Run the report. You should see the following output:

IBIMR_user = admin
IBIMR_domain = untitled/untitled.htm
MR_FULL_FEXNAME = Test_2_Description
MR_SHORT_FEXNAME = Test_2_D
MR_ITEM_HANDLE = test2

The <set> variablename(pass) command exports a WebFOCUS variable to the Reporting Server as a Dialogue Manager variable that you can use in your report request to control processing flow or to display in report output.

Note:


WebFOCUS