Mkcol Sample Code
Now we are going to recapture some of the WebDAV protocol through examples. Through the Mkcol sample code, we are going to see how WebDAV provides capabilities for
Creating collections
Allowing multi-processing
Benefitting from XML
Returning multiple statuses in a response
NOTE
Please spend time reading this sample carefully, because it will save you time in understanding the other sample programs, which are very similar to this.
In this example, we use VBScript to
Create a Web folder called SPSBOOK as a subfolder of the Documents folder of SPS.
Use XML to send additional requests for setting the COMMENT property of the newly created SPSBOOK folder to “This is my SPSBOOK folder created by the mkcol method”.
Get the response back ...
Get Special Edition Using Microsoft® SharePoint Portal Server now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.