Site Server Content Management Incorrectly Tags Documents

ID: Q224974


The information in this article applies to:


SYMPTOMS

When using one of the sample Content Management (CM) sites, or a site created by Makecm.vbs, uploaded documents may be tagged in a non-intuitive manner. Specifically, existing Office/OLE documents when re-submitted to a site have existing tags ignored.

For example, you upload a document to the FPSample CM sample site, choose a content type, enter some attributes on the properties page, and submit the document to the site. If you submit the same document again (or a document with the same filename), and choose the same content type as before, you will receive a message saying:

The File 'filename' Exists!"
An you will have choices to Cancel or Overwrite. If you choose Overwrite, then you will be presented with a properties page (GetProps.ASP) for the chosen content type. The properties page does not (as may be expected) display the existing properties from the document already in the content store.

If a non-OLE document is uploaded, the properties page does display the existing properties as stored in the existing document's STUB file.


CAUSE

This behavior is because of a problem in Submit.inc, and can be fixed in the workaround described below.


WORKAROUND

Using a text editor such as Notepad, open the file Submit.inc from Site Server Install Directory\SiteServer\Publishing\ and modify the line in the procedure BuildPropertyList() as indicated:

Incorrect line: If Not GetOLEProps(strUploadedFile) Then

Correct line: If Not GetOLEProps(FileName) Then
Then save the file.

Additional query words:


Keywords          : 
Version           : winnt:3.0
Platform          : winnt 
Issue type        : kbbug 

Last Reviewed: April 1, 1999