Skip to main content

Posts

Setting Up the Development Environment for SharePoint 2010 on Windows Vista, Windows 7, and Windows Server 2008

 Usually we can install microsoft Shapoint foundation on servers OS such as windows server 2008 .You might have tried to instal sharepoint foundation software on your client OS such as Vista,Windows7,etc.Here i have got a msdn link .You can follow the steps they have mentioned and you can successfully install the SharePoint Foundation on your client OS.    Follow this Post Cheers Pradeepa

How to find the internal name of a column in Sharepoint

Some of you guys have question about where we can get the internal name of a column of a sharepoint's list. Many guys have posted like, we can get by using CAML query builder and some other blaa blaa stuff.. Actually you can get easily . 1.Click on the list in which the column exists. 2.click on the list setting and  click on the column name . 3.In the browser, in the url section go to the end of the url. You will find Field = internalName.

stsadm

For a sharepoint developer/Admin stsadm command is a must known command. I am going to explain how to use the stsadm command. 1.In order to retract solution from  your site, you can use the command like as follows. stsadm -o retractsolution -name "solutionName.wsp" -url "site url from which you want to retract the solution" -immediate 2. In order to add solution to the solution repository present in the central administration stsadm -o addsolution -filename "path to the solution present in your local hard disk/solutionName.wsp" 3.In order to deploy the solution on particular site stsadm -o deploysolution -name "solutionName.wsp" -url "site url" -immediate -allowgacdeployment -force There are few more use of stsadm command .You can explore if you want Thanks

How to retrieve the url of the attachment associated with the list item?

Dudes,           It is very simple.Before I tried in many ways.I felt this one is the simple approach.Once after you get the listItem ,ie.SPListItem follow the procedure as shown below. string name=string.Empty; splistitem item=list.GetItems(queryItems)[0]; foreach(string file in item.Attachments) {     name=item.Attachments.UrlPrefix+file;  }  return name;

How to access the attachment of sharepoint list Item?

This question sounds pretty interesting.We all know that we can access the list items from the list easily. Perhaps we may not be had used this concept.Yes we cam access the attachment of the list item in this way:   foreach(string filename in listiem.Attachments) {    SPFile file=listItem.parentLis.ParentWeb.GetFile(listItem.Attachments.UrlPrefix+filename);   //do whatever u wanted to do }

What is the use of static class?

I was wonder before why we need to make some  classes  as static.The reason is very simple.You can make use of its member without instantiating the object of that class.For example public static class   Name() {      Name()       {}      public static string PersonNames()       {          //do some stuff here          return stringObject;        } } If you want to access the PersonNames() method in another class ,you don't need to do much.Just className.methodname(); ie. public class CitizenDetails() {  Name.PersonNames(); //do further stuff }

A good Blog to reffer

For Sharepoint  and Jquery related learning things , you can refer this blog. The author of this blog is a genius guy.He is well & expert in SharePoint,Jquery,.net ...etc etc. Anirudh Gup t a ,  CTO , Element8 Software Bangalore