Customizing the Deferred Report Status Screen

How to:

The Deferred Status Interface is rendered using code in the WebFOCUS Client template configuration (XML) files, located in the drive:\ibi\WebFOCUS82\client\wfc\etc\prod directory.

For customization, copy the appropriate template to the drive:\ibi\WebFOCUS82\client\wfc\etc\custom directory and make changes to this file.

Procedure: How to Add Images to the Deferred Report Status Screen Top Banner

Create a backup each time you edit a file in the drive:\ibi\WebFOCUS82\client\efc\etc\custom directory.

  1. Copy the WebFOCUS Client file, drive:\ibi\WebFOCUS82\client\wfc\etc\prod\blue_table_deferred_pages.xml, to the drive:\ibi\WebFOCUS82\client\wfc\etc\custom directory.
  2. Create a backup of the drive:\ibi\WebFOCUS82\client\wfc\etc\custom\blue_table_deferred_pages.xml file so that you can easily revert changes, if needed.
  3. Edit the drive:\ibi\WebFOCUS82\client\wfc\etc\custom\blue_table_deferred_pages.xml file.
  4. To add an image to the left side of the top banner, change the line beginning with <TD that has WIDTH='85', as shown in the following code. This is the default third line provided.
    <TD BGCOLOR="#5A5A5A"><IMG  ALT="WebFOCUS" SRC="<insertvariable FOCHTMLURL />/workbnch/cleardot.gif" WIDTH="85" HEIGHT="15"
    BORDER="0"></TD>

    To display your custom image, change the ALT= value to add the reference to your custom image file.

    The default option is to reference images located in the WebFOCUS Client ibi_html directory path that is configured as a web-accessible location by the ibi_html context alias configured on the application server where WebFOCUS is configured. If your images are located in a different web accessible location, remove <insertvariable FOCHTMLURL/> and specify the fully qualified reference to the custom image.

    The following example references the WebFOCUS branding image, delogo2.gif, located in the \ibi_html\javaassist\images\logos drectory. It is accessible from the web by using the ibi_html alias:

    <TD BGCOLOR="#0000FF"><IMG  ALT="WebFOCUS" SRC="<insertvariable FOCHTMLURL />/javaassist/images/logos/delogo2.gif"
    WIDTH="85" HEIGHT="15" BORDER="0"></TD>
  5. To add an image to the right side of the top banner, change the next to last <TD line, as shown in the following code.
    <TD BGCOLOR="#5A5A5A"><IMG  ALT="Information Builders" SRC="<insertvariable FOCHTMLURL />" WIDTH="68" Height="25"
    BORDER="0"></TD>

    To display your custom image, change the ALT= value to add the reference to your custom image file.

    The default is to reference images located in the WebFOCUS Client ibi_html directory that is configured as a web accessible location by the ibi_html context alias configured on the application server where WebFOCUS is configured. If your images are located in a different web accessible location, remove <insertvariable FOCHTMLURL/> and specify the fully qualified reference to the custom image.

    The following example references the Information Builders branding image, delogo1.gif, located in the WebFOCUS Client directory \ibi_html\javaassist\images\logos:

    <TD BGCOLOR="#0000FF"><IMG  ALT="Information Builders" SRC="<insertvariable FOCHTMLURL />/javaassist/images/logos/delogo1.gif"
    WIDTH="68" Height="25" BORDER="0"></TD>
  6. Save your changes and close the file.
  7. Clear the WebFOCUS Client cache by accessing the WebFOCUS Administration Console and selecting the Clear Cache option.
  8. Access the Deferred Status Interface and confirm that the images are displaying. If the images do not display, view the source of the HTML page to verify the URL references to the image.

Procedure: How to Hide Report Option Buttons in the Deferred Status Interface

The display of the option for a deferred report listed in the Deferred Report Status screen is controlled by the following template files located in the WebFOCUS Client \client\wfc\etc\prod directory.

  • Delete. drive:\ibi\WebFOCUS82\client\wfc\etc\prod\defer_control_href_do_delete.xml
  • View. drive:\ibi\WebFOCUS82\client\wfc\etc\prod\defer_control_href_view.xml
  • Save. drive:\ibi\WebFOCUS82\client\wfc\etc\prod\defer_control_href_save.xml
  • Run. drive:\ibi\WebFOCUS82\client\wfc\etc\prod\defer_control_href_rerun.xml
  • Parameters. drive:\ibi\WebFOCUS82\client\wfc\etc\prod\defer_control_href_replay.xml

To hide report option buttons in the Deferred Status Interface:

  1. Copy the WebFOCUS Client template file for the deferred report option to control the display from the drive:\ibi\WebFOCUS82\client\wfc\etc\prod directory to the drive:\ibi\WebFOCUS82\client\wfc\etc\custom directory.
  2. Create a backup of the XML template files you are customizing in the drive:\ibi\WebFOCUS82\client\wfc\etc\custom directory so you can easily revert changes, as needed.
  3. Edit the XML file for the option to not be displayed.
  4. Remove the text within the inner brackets […] of <!CDATA[…]]> .

    The following is the change for not displaying the Save option:

    <?xml version="1.0" encoding="UTF-8"?>
    <templates>
       <template name='DEFER_CONTROL_HREF_SAVE'>
        <![CDATA[
        ]]>
       </template>
    </templates>
    
  5. Save your changes.
  6. Sign in to WebFOCUS and clear the WebFOCUS Client cache by accessing the WebFOCUS Administration Console, and then selecting the Clear Cache option.
  7. Confirm the option does not display for the deferred reports in the Deferred Report Status interface. The Deferred Report Status interface can be accessed from the Tools menu within the Menu bar on the top of the Welcome page.

WebFOCUS

Feedback