Vizit Versions 4.1 and above
The method for deploying a VIZIT_SETTINGS object to a SharePoint page in Vizit Versions 4.1 and above is to use the Vizit Web Part. Follow the steps below to configure Vizit buttons and Vizit Essential using the VIZIT_SETTINGS configuration object:
- Click Site Actions and choose ‘Edit Page’.
- In one of the Web Part zones, click ‘Add a Web Part’. It does not matter where it is added unless you plan on embedding Vizit Essential into the page.
- Choose the Vizit Web Part which can be found in the Vizit Category.
- Click on the ‘Vizit Web Part Menu’ in the upper right corner of the Web Part.
- Select ‘Edit Web Part’.
- Click on the ‘Advanced’ checkbox, then the ‘Customize’ button.
- This is where you will add your custom code. DO NOT put the javascript tags in your code, simply create a VIZIT_SETTINGS object that looks like the following:
var VIZIT_SETTINGS = {
// your settings go here.
}; - Once any properties have been set, click either OK or Apply and exit Edit Mode.
Vizit Versions 4.0 and earlier
The method for deploying a VIZIT_SETTINGS object to a SharePoint page in Vizit Versions 4.0 and earlier is to use a Content Editor Web Part. Follow the steps below to configure Vizit buttons and Vizit Essential using the VIZIT_SETTINGS configuration object:
- Click Site Actions and choose ‘Edit Page’.
- In one of the Web Part zones, click ‘Add a Web Part’. It does not matter where it is added unless you plan on embedding Vizit Essential into the page.
- Choose the Content Editor Web Part which can be found in the Media and Content Category.
- Click the area within the Content Editor Web Part that says ‘Click here to add new content’.
- In the Format Text tab in the Ribbon, expand the HTML drop down in the Markup Ribbon Group and choose ‘Edit HTML Source’.
- Create a script block that looks like following:
<script type="text/javascript">
var VIZIT_SETTINGS = {
// your settings go here.
};
</script> - Once the script block has been created and any properties have been set, click OK and exit Edit Mode.
0 Comments