Preeti
Preeti

Reputation: 1386

How to create folder in Sharepoint on specified url using web services?

Currently i am using DWS CreateFolder function to create folder on Sharepoint (using C#). But problem i am facing is that:

As per CreateFolder Defination:

http://msdn.microsoft.com/en-us/library/ms774480.aspx

(Def: Creates a subfolder in the document library of the current Document Workspace site)

It is creating folder in current workspace i.e not on url path i am giving.(in my case it is creating folder in Style Library)

My Previous post:

DWS CreateFolder() files are getting created on shareppoint "Style Library"

Is there any other way to createfolder?

Regards, Jene

Upvotes: 0

Views: 2737

Answers (1)

Preeti
Preeti

Reputation: 1386

Use "MKCOL" method of "HttpWebRequest" .

Upvotes: 2

Related Questions