Jessica
posted this on Jan 05 15:42
Vizit Versions 4.1 and above
The method for deploying a VIZIT_SETTINGS object to a SharePoint page with Vizit embedded is to use BOTH a Content Editor Web Part and the Vizit Web Part. Inside the Content Editor Web Part, you will place a DIV specifying an id and a width and height using the style attribute. The Vizit Web Part is where you will place your VIZIT_SETTINGS object. Follow the steps below:
<div id="test" style= "width: 500px; height: 400px;"></div>
var VIZIT_SETTINGS = {
renderTo: 'test',
// your settings go here.
};
Vizit Versions 4.0 and earlier
The method for deploying a VIZIT_SETTINGS object to a SharePoint page with Vizit embedded is to use only a Content Editor Web Part. The Vizit Web Part cannot be added to the page and embedded because the Vizit Web Part already adds VIZIT_SETTINGS to the page to allow Essential to be embedded. In Versions 4.0 and earlier, you will need to add both VIZIT_SETTINGS in a script block as well as create a DIV on the page to renderTo. Both can be in the same Content Editor Web Part. Follow the steps below:
<div id="test" style= "width: 500px; height: 400px;"></div> <script type="text/javascript">
var VIZIT_SETTINGS = { renderTo: 'test',
// your settings go here.
}
</script>