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:
<object classid="clsid:601CD7CF-7278-11D1-871D-00A02411D404" width="100%" height="100%" codebase="http://server/path/ Vz.CAB#version=9.0.2006.210" >...</object>
To verify the current version number, you can look at the File version string on the Version tab of the file properties dialog box for DLLs like VzLib.dll.
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.
\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.
<OBJECT CLASSID = "clsid:5220cb21-c88d-11cf-b347-00aa00a28331" id=licensemgrobj VIEWASTEXT>
<PARAM NAME="LPKPath" VALUE="/ibi_html/visdis/VzLicense.lpk"></OBJECT>
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.
<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).
The following provides sample HTML for deploying a WebFOCUS Visual Discovery application that contains the bar chart component.
Note: If using a UNIX platform, FTP the Vz.cab file and VzLicense.lpk file to the UNIX machine in BINARY format.
<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="<NULL>"> <PARAM NAME="ShowMissing" value="0"> <PARAM NAME="Average" value> </OBJECT> </TD> </TR> </TABLE> </DIV> </BODY> </HTML>
Note: End users are prompted to install the Visual Discovery components if the machine they are using does not already have them installed.
Note: If using a UNIX platform, FTP the Vz.cab file and VzLicense.lpk file to the UNIX machine in BINARY format.
<OBJECT CLASSID = "clsid:5220cb21-c88d-11cf-b347-00aa00a28331" id=licensemgrobj VIEWASTEXT>
<PARAM NAME="LPKPath" VALUE="/ibi_html/visdis/VzLicense.lpk"> </OBJECT>
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.
<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 |