Supported methods that you can use to create an application that accesses items in a SharePoint Portal Server 2001 workspace (833739)



The information in this article applies to:

  • Microsoft SharePoint Portal Server 2001

SUMMARY

This article describes the methods that you can use to develop applications that update items in the Microsoft SharePoint Portal Server 2001 document library in the workspace. The only recommended way to access workspace resources is to use the Publishing and Knowledge Management Collaboration Data Objects (PKMCDO) object model.

MORE INFORMATION

SharePoint Portal Server is designed to work with the Publishing and Knowledge Management Collaboration Data Objects object model so that you can make an application update an item in the workspace. The use of Web Distributed Authoring and Versioning (WebDAV) method calls such as MOVE, COPY, and DELETE against files in the resources folder in a SharePoint Portal Server 2001 workspace is not supported.

If you try to use WebDAV method calls, these method calls may appear to modify the data successfully at first. However, when you use these method calls, the modified documents become inconsistent with the server, there is a lack of schema enforcements, and the single method call may miss or ignore other procedures that enforce data integrity. WebDAV method calls such as PROPFIND and SEARCH that read information from the workspace are supported. You must use the SharePoint Portal Server Document Model Objects for all tasks that modify data, including creating or changing properties for the workspace, for folders, or for documents.

This article is meant to clarify the following MSDN articles that cover this topic: Developers can access the workspace by using various technologies that include WebDAV and Microsoft ActiveX Data Objects (ADO). However, operations that modify content or metadata are restricted to the Publishing and Knowledge Management Collaboration Data Objects.

Microsoft is committed to providing programmatic access to the Document Library for applications that use the Publishing and Knowledge Management Collaboration Data Objects. Microsoft is also committed to supporting developers who write applications for SharePoint Portal Server 2001. The supportability status of some of these components may change without notice.

REFERENCES

For more information about how to use the Publishing and Knowledge Management Collaboration Data Objects, visit the following Microsoft Web site:

Modification Type:MajorLast Reviewed:2/12/2004
Keywords:kbinfo KB833739 kbAudDeveloper