Skip to main content

Posts

Showing posts from 2011

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

How will you copy Lists from one site to another site?

Hi dudes,             usually  We do full deploy in order to copy the list and its contents on to another site.I want to know is there any other ways to  do the same.I mean, is there any utility to do the same thing?.I am having one idea and and i am implementing it,besides if you guys know about such utility please inform me. Thanks Pradeepa
Hi Buddies,                    While doing some research i have got a   blog which has some information regarding SharePoint2007 and SharePoint 2010.Just Go through that link.You will like it as it explains from the installation of Sharepoint.

How to come to know the deployment date of a solution on particular web application in sharepoint?

It is little bit silly ,but as a SharePoint guy one should know about the administration part of the SharePoint  which is a heart .If you want to know the last deployment date and time of a solution on web application,just follow the below mentioned steps: 1.go to your central administration 2.click on system security and click on manage farm  solution. There you can see your deployed solution and click on the solution.You will come to know the last date and  time of the deployment of the  solution. Cheers Pradeepa

Claim based Authentication in SharePoint2010

Dudes,          In SharePoint2010 a brand new authentication called "Claim based authentication " has been introduced using which we can provide both windows and form based authentication to a web application.By using this ,you can give individual authentication mode.         When you create a sharepoint default web application(SharePoint-80), it willl be classic mode authentication(Windows)  itself.You can not extend it to form based authentication in sharepoint foundation2010.For that do one thing.Just delete Shatrepoint-80 web application and recreate the Sharepoint80 web application and don't forget to provide "Claim based authentication".Now you can easily extend the web application to form based web application. thanks Pradeepa If you want some more information regarding Sharepoint 2007 and 2010 configuration and developement please leave your comments here