Site Server Content Management Incorrectly Tags DocumentsID: Q224974
|
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.
This behavior is because of a problem in Submit.inc, and can be fixed in the workaround described below.
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) ThenThen save the file.
Correct line: If Not GetOLEProps(FileName) Then
Additional query words:
Keywords :
Version : winnt:3.0
Platform : winnt
Issue type : kbbug
Last Reviewed: April 1, 1999