Deploying WebFOCUS Visual Discovery Applications for VZ Web Server (Thick Client)

How to:

WebFOCUS Visual Discovery applications can be deployed over the Web using the digitally signed Vz.cab file and the VzLicense.lpk file included on the WebFOCUS Visual Discovery VZ Web Server installation CD. The cabinet (Vz.cab) file installs the component files to the drive:\Program Files\Common Files\ADVIZOR Components directory. The license package (VzLicense.lpk) file allows the use of licensed ActiveX controls in an HTML page on a non-licensed computer.

Note:


Top of page

x
Procedure: How to Configure Visual Discovery Pages for Thick-Client Deployment in Managed Reporting

Tip: During Managed Reporting remote development, users other than the developer may access the Visual Discovery Web page. Therefore, when you are developing Web pages in Managed Reporting, you can follow these steps but omit the command VIEWASTEXT. The HTML Composer will display the component on the development canvas.

  1. Copy the Vz.cab file, the data file (this is the .txt file you create using the FORMAT VISDIS command), and the VzLicense.lpk file to the Web server that hosts each domain within Managed Reporting. You can find the Vz.cab and VzLicense.lpk files on the installation CD. Place the files in the following directory:
    \ibi\WebFOCUS77\ibi_html\visdis

    If the visdis directory does not exist, then you must create it manually.

    Note: If using a UNIX platform, FTP the Vz.cab file and VzLicense.lpk file to the UNIX machine in BINARY format.

  2. Insert the following HTML code in each Visual Discovery Web page:
    1. Place the following code within the <BODY> tags prior to all other <OBJECT> tags:
      <OBJECT CLASSID = "clsid:5220cb21-c88d-11cf-b347-00aa00a28331" 
      id=licensemgrobj VIEWASTEXT>
      <PARAM NAME="LPKPath" 
      VALUE="/ibi_html/visdis/VzLicense.lpk"></OBJECT>
    2. Place the following code into each <OBJECT> tag corresponding to its Visual Discovery component. Insert this code following the classid attribute.
      codebase="http://server/ibi_html/visdis/
      Vz.CAB#version=9.0.2006.210" VIEWASTEXT

      where server is the server that hosts each domain within Managed Reporting.

    3. Modify the parameter value for Files. The Visual Discovery text file DOS path must now reflect its virtual path.
      <PARAM NAME="Files" VALUE="http://server/ibi_html/visdis/ 
      filename.txt"

      where server is the server that hosts each domain within Managed Reporting and filename is the Visual Discovery data file (this is the .txt file you create using the FORMAT VISDIS command).



Example: Deploying a WebFOCUS Visual Discovery Application for VZ Web Server (Thick Client)

The following provides sample HTML for deploying a WebFOCUS Visual Discovery application that contains the bar chart component.

  1. Copy the Vz.cab file, the VzLicense.lpk file, and the data file (this is a .txt file you create using the FORMAT VISDIS command) to a location on your Web server. This example uses a data file called vball.txt.

    Note: If using a UNIX platform, FTP the Vz.cab file and VzLicense.lpk file to the UNIX machine in BINARY format.

  2. Copy the following code into a HTML file, and save it to the same location on the Web server as the files in step 1. Remember, the CODEBASE attribute must include both the path to the Vz.cab file on the Web server and the version information.
    <HTML>
    <HEAD>
    <TITLE>Web Deployment Example Page</TITLE>
    </HEAD>
    <BODY>
    <!-----------------Run-time licensing----------------->
    <OBJECT CLASSID = "clsid:5220cb21-c88d-11cf-b347-00aa00a28331" 
    id=licensemgrobj VIEWASTEXT>
    <PARAM NAME="LPKPath" VALUE="/ibi_html/visdis/VzLicense.lpk"></OBJECT>
    <H1>Web Deployment Test Page</H1>
    <P>This page demonstrates how to deploy WebFOCUS Visual Discovery
      Components over the Web by downloading the Vz.cab file, and
      installing the components onto your client machine.</P>
    <DIV ALIGN="justify">
     <TABLE BORDER="1" WIDTH="200">
       <TR>
         <TD>
         <object classid="clsid:601CD7CF-7278-11D1-871D-00A02411D404"
            width="100%" height="100%" codebase="http://server/path/
            Vz.CAB#version=9.0.2006.210" VIEWASTEXT>
             <PARAM NAME="Files"
              VALUE="http://server/ibi_html/visdis/vball.txt"
             <PARAM NAME="Data" value="vball action">
             <PARAM NAME="Order" value="4">
             <PARAM NAME="StackColors" value="1">
             <PARAM NAME="ColorBy" value="vball action">
             <PARAM NAME="ColorScale" value="1">
             <PARAM NAME="MissingLabel" value="&lt;NULL&gt;">
             <PARAM NAME="ShowMissing" value="0">
             <PARAM NAME="Average" value>
          </OBJECT>
          </TD>
       </TR>
     </TABLE>
     </DIV>
    </BODY>
    </HTML>
  3. Open a browser window and specify the URL for the test page.

Note: End users are prompted to install the Visual Discovery components if the machine they are using does not already have them installed.


Top of page

x
Procedure: How to Configure Visual Discovery Pages for Thick-Client Deployment in the WebFOCUS Client
  1. Copy the Vz.cab file, the data file (this is the .txt file you create using the FORMAT VISDIS command), and VzLicense.lpk file to your to the Web server that hosts the Visual Discovery Web page. Place the files at the root of the virtual directory of the application. You can find the Vz.cab and VzLicense.lpk files on the installation CD.

    Note: If using a UNIX platform, FTP the Vz.cab file and VzLicense.lpk file to the UNIX machine in BINARY format.

  2. Insert the following HTML code for each Visual Discovery Web page:
    1. Place the following code within the <BODY> tags prior to all other <OBJECT> tags:
      <OBJECT CLASSID = "clsid:5220cb21-c88d-11cf-b347-00aa00a28331" 
      id=licensemgrobj VIEWASTEXT>
      <PARAM NAME="LPKPath" VALUE="/ibi_html/visdis/VzLicense.lpk">
      </OBJECT>
    2. Place the following code into each <OBJECT> tag corresponding to its Visual Discovery component. Insert this code following the classid attribute.
      codebase="http://server/approot/appname/
      Vz.CAB#version=9.0.2006.210" VIEWASTEXT

      where server is the server that hosts the Visual Discovery pages and appname is the name of the application that contains the Visual Discovery pages.

    3. Modify the parameter value for Files. The DOS path of the Visual Discovery text file must now reflect its virtual path.
      <PARAM NAME="Files" VALUE="http://server/approot/ 
      appname/filename.txt"

      where server is the server that hosts the Visual Discovery pages, appname is the name of the application that contains the Visual Discovery pages, and filename is the Visual Discovery data file (this is the .txt file you create using the FORMAT VISDIS command).


WebFOCUS