Posted by Shantha Kumar on 25th April 2009

I noticed in MSDN forums, many of them are struggling with creation of sub-sites using webservice in sharepoint.
I take a look on that, Because they are all try to use CreatSite method in Admin webservice. But that will help only on creating SiteCollections.
Then how we can create a susite? It’s very easy if you are look in [...]

Posted by Shantha Kumar on 14th April 2009

Where are the Documents or files we uploaded or attached stored in sharepoint? Many of them know, those files are stored under SharePoint Content Database. But on which database table, on which format?
For that, i did a quick research on that, and here i give those results,

The AllDocStreams table in SharePoint Content Database stores the [...]

Posted by Shantha Kumar on 11th April 2009

Now, we are going to see how we can download all documents(incluing sub folders) from SharePoint Library.
First of all,we have get all documents from SharePoint Library. The following code help us to get all the documents including Subfolders.
//Get the Document Library and its view
SPList list = web.Lists["Test Document"];
SPView view = list.Views["All Documents"];
//Query all documents in [...]

Posted by Shantha Kumar on 3rd April 2009

In my WSS – User Information List post, I’ll list out the fields available under hidden “User Information List”. Now i’ll like to share the details of URL for that “User Information List”.
By using follwoing code, we can get the Users list url,
SPList userList = SPContext.Current.Web.SiteUserInfoList;
string url = userList.Forms[PAGETYPE.PAGE_DISPLAYFORM].Url;
the above code will return like the following [...]