 |

 |
 |


Organizational Charting and Reporting |
 |
 |

 |
 |
 |
 |

Workforce Planning and Management |
 |

 |
 |
 |
Unifi M&A Portal
Improve Merger and Acquisition Results with Unifi.
Also download our flash video explaining in-depth how Unifi can help your company with M&A related challenges.
VIEW NOW |

|
 |

ActiveX Control - Steps
- First publish your chart as PluginX or Echart Rich Client. Go to the folder for the chart output. If you are using V8 or above, you will modify the JS file to reflect the local path for the PluginX download. If you are using versions prior to V8, you will modify the path in the .HTM file to reflect the local path for the PluginX download.
- Edit the line in the HTML file that defines the location of the PluginX file. This needs to be changed to point to the location of the file on YOUR server.
- Now update the publishing definition and deselect the "Overwrite existing htm file" option. Regenerate the OCP file and preserve the changes you made to your HTML file.
For example:
JS Example (if you are using V8 or above)
function ReplaceContent(){ document.write('<object id="OrgPublisherPluginX" name="PluginX"'); document.write(' classid="clsid:C3CBFE35-9BE8-11D1-B31B-006008948294"'); document.write('codebase="http://www.aquire.com/codebase8/OrgPubX.cab#Version=8,0,1561,1"'); document.write(' align="middle" border="0" width="100%" height="100%">'); document.write(' <param name="_Version" value="65536">'); document.write(' <param name="_ExtentX" value="17110">'); document.write(' <param name="_ExtentY" value="8431">'); document.write(' <param name="_StockProps" value="0">'); document.write('<param name="ChartOCPFile" value="Box 1.ocp">'); if (szSelectedBox.length > 0) { document.write(' <PARAM name="SelectedBox" value="'+ szSelectedBox +'">'); } document.write(' </OBJECT>'); }
Is changed to:
function ReplaceContent(){ document.write('<object id="OrgPublisherPluginX" name="PluginX"'); document.write(' classid="clsid:C3CBFE35-9BE8-11D1-B31B-006008948294"'); document.write('codebase="http://www.MYSERVER.com/codebase8/OrgPubX.cab#Version=8,0,1561,1"'); document.write(' align="middle" border="0" width="100%" height="100%">'); document.write(' <param name="_Version" value="65536">'); document.write(' <param name="_ExtentX" value="17110">'); document.write(' <param name="_ExtentY" value="8431">'); document.write(' <param name="_StockProps" value="0">'); document.write('<param name="ChartOCPFile" value="Box 1.ocp">'); if (szSelectedBox.length > 0) { document.write(' <PARAM name="SelectedBox" value="'+ szSelectedBox +'">'); } document.write(' </OBJECT>'); }
HTML example (if you are using versions prior to V8):
<object id="OrgPublisherPluginX" name="PluginX" classid="CLSID:C3CBFE35-9BE8-11D1-B31B-006008948294" codebase="http://www.Aquire.com/codebase70/OrgPubX.cab#Version=8,0,1561,1" align="baseline" border="0" width="620" height="416"> <param name="_Version" value="65536"> <param name="_ExtentX" value="10583"> <param name="_ExtentY" value="6632"> <param name="_StockProps" value="0"> <param name="ChartOCPFile" value="orgchart.ocp"> </object>
Is changed to:
<object id="OrgPublisherPluginX" name="PluginX" classid="CLSID:C3CBFE35-9BE8-11D1-B31B-006008948294" codebase="http://www.MYSERVER.com/codebase70/OrgPubX.cab#Version=8,0,1561,1" align="baseline" border="0" width="620" height="416"> <param name="_Version" value="65536"> <param name="_ExtentX" value="10583"> <param name="_ExtentY" value="6632"> <param name="_StockProps" value="0"> <param name="ChartOCPFile" value="orgchart.ocp"> </object>
|