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 webpage. Therefore, when you are developing webpages in Managed Reporting, you can follow these steps, but omit the command VIEWASTEXT. HTML Composer will display the component on the development canvas.

  1. Copy the Vz.cab file, the data file you create using the FORMAT VISDIS command, or the FOXEXEC with the PCHOLD 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 in the zip file. Place the files in the following directory:
    \ibi\WebFOCUS80\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 webpage:
    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.2011.509" VIEWASTEXT

      where:

      server

      Is the server that hosts each domain within Managed Reporting.


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 you create using the FORMAT VISDIS command, or the FOXEXEC with the PCHOLD FORMAT VISDIS command, and VzLicense.lpk file to the web server that hosts the Visual Discovery webpage. Place the files at the root of the virtual directory of the application. You can find the Vz.cab and VzLicense.lpk files in the zip file.

    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 webpage:
    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.2011.509" VIEWASTEXT

      where:

      server

      Is the server that hosts the Visual Discovery pages.

      appname

      Is the name of the application that contains the Visual Discovery pages.

  3. Execute the thick-client webpage by entering the following information in your browser
    http://server/approot/appname/htmpagename.htm

    where:

    server

    Is the name of the web server hosting the thick-client webpage.

    appname

    Is the name of the application that contains the thick-client webpage and the related application files.

    htmpagename

    Is the name of the thick-client HTM file.


Top of page

x
Procedure: How to Use the Scenario Wizard to Deploy Visual Discovery Application Files (Thick-Client)

If you are developing in the Projects area of Developer Studio, you have the option of using the Deploy Scenario Wizard to move your application files to your WebFOCUS run-time environment. The Deploy Scenario Wizard automatically edits the paths to the .txt files and .fex files in the HTML file, as well as updating the CAB version.

  1. Go to the Developer Studio Explorer window and select the application project. In order to deploy the thick-client files, your project needs to be able to see them. To do this, you must add the TXT extensions to your project. Add additional file extensions, such as JS for resource files, if they are also being used in your project.

    To add these file extensions to your project:

    1. Right-click the application project and click Properties.
    2. Click the Edit Filters tab.
    3. Click the Add new file type filter(s) button. The New Filter dialog box opens.
    4. Scroll to the txt document extension, select it, and click OK.
    5. Repeat to add additional file types.
    6. Click OK to close the Properties dialog box.
  2. Click the Binoculars button to display all files in your project path. Find the XML file and the HTM files for your project.
  3. Select and then right-click both files, and click Add to Project on the menu.
  4. From the deploy drop-down list, click New Deploy Scenario.

    The New Scenario Wizard opens. For complete details on how to use the New Scenario Wizard, see the Creating Reporting Applications With Developer Studio manual or click Help from the wizard to view the online documentation.

    You may specify the HTM file as your starting object, or simply deploy the files and open a browser window to execute your webpage.

  5. Run the Deploy Scenario.

    If you chose to deploy and run, with a starting object specified, it will run when the files have finished deploying.

  6. Execute the webpage by entering the following in your browser:
    http://server:port/approot/appname/htmpagename.htm

    where:

    server

    Is the name of the web server hosting the thick-client page.

    appname
    Is the application name to which you deployed the thick-client page and related application files.
    htmpagename

    Is the name of the thick-client HTM file.


WebFOCUS