Verify the Disclaimer Bar is correct for an entire Process Library

 This article is suitable for an IT Adminstrator

Ref: 20090916
Last edited September 29th, 2011

Background

In organisations where there are large or many libraries, publications can sometimes become cross-contaminated, and the settings that apply to one library begin to appear in an entirely separate library.

The likelihood of this occurring is minimised when the publications are executed using the Publish tool on the Browser Toolkit, and when the Publication Server itself is not used as a working machine with user-interaction.

The wrong type of disclaimer bar (the red or yellow strip normally displayed across the top of the Prelive or Sandpit sites) is a highly visible example of this type of issue.

Disclaimer Bar Identifying Strings

Every page that displays a disclaimer bar will have a path to the disclaimer bar in it. For example, shown below is the line of HTML that refers to a disclaimer in a Prelive site.
 
<frame name="disclaimer" id="disclaimer" src="http://localhost/showcase/prelive/static html/disclaimer.html" scrolling="no" marginwidth="0" marginheight="0">
 
In a Sandpit site, the red text in the line above would be replaced by 'sandpit' instead.
 
In general, the words 'Prelive', 'Sandpit' or whatever the library name is are unique to that library on that server.
 
To see this in your own library, nearly every library has a homepage.html. Simply open this file in Notepad and it will be easy to spot. Shown below is the html content of a typical homepage.html.
 
<html>
    <head>
      <title>Showcase (Prelive)</title>
          <script language="jscript">
            function UpdateContent(strAddress)
               {
                    document.frames("main").document.location.replace(strAddress);
               }
          </script>
    </head>
        <frameset rows="20, 44,*" border="0" framespacing="0" frameborder="0">
            <frame name="disclaimer" id="disclaimer" src="http://localhost/showcase/prelive/static html/disclaimer.html" scrolling="no" marginwidth="0" marginheight="0">
            <frame name="top" id="top" src="http://localhost/showcase/prelive/static html/nav.html" scrolling="no" marginwidth="0" marginheight="0">
            <frame name="main" id="main" src="homepage.page-1_files/main_2.html">
        </frameset>
</html>

Searching HTML pages for Incorrect References

All files that contain disclaimer bars will have the extension '.html'. It is therefore possible to select the root folder of a library from Windows Explorer, right-click it and select 'Search' and search the html files for contaminated strings.

For example, suppose the Sandpit and Prelive publications have crossed over and the Prelive contains Sandpit disclaimers. To search for affected pages, use something akin to the following search parameters:

 
This will find all pages that reference the Sandpit banner instead of the Prelive banner. To ensure the banners get replaced, the best option is to delete the offending HTML pages and re-publish the library.

Need further help? Contact the Triaster Support team by e-mailing support@triaster.co.uk or by calling us on 0870 402 1234.

                    Do you have any feedback or suggestions that you would like to share with Triaster? We would love to hear from you! Please e-mail feedback@triaster.co.uk 
Comments