Deploying a VIZIT_SETTINGS Object to a Page

  

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:

    1. Click Site Actions and choose ‘Edit Page’.
    2. 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.
    3. Choose the Vizit Web Part which can be found in the Vizit Category.
    4. Click on the ‘Vizit Web Part Menu’ in the upper right corner of the Web Part. 
    5. Select ‘Edit Web Part’.
    6. Click on the ‘Advanced’ checkbox, then the ‘Customize’ button.
    7. 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.
      };
    8. 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:

    1. Click Site Actions and choose ‘Edit Page’.
    2. 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.
    3. Choose the Content Editor Web Part which can be found in the Media and Content Category.
    4. Click the area within the Content Editor Web Part that says ‘Click here to add new content’.
    5. In the Format Text tab in the Ribbon, expand the HTML drop down in the Markup Ribbon Group and choose ‘Edit HTML Source’.
    6. Create a script block that looks like following: 

      <script type="text/javascript">
      var VIZIT_SETTINGS = {
               // your settings go here.
          };
      </script>
    7. Once the script block has been created and any properties have been set, click OK and exit Edit Mode.
Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk