Questions tagged [sharepoint-api]

Microsoft SharePoint API

Microsoft SharePoint can be used to provide intranet portals, document & file management, collaboration, social networks, extranets, websites, enterprise search, and business intelligence. It also has system integration, process integration, and workflow automation capabilities.[1]

Microsoft make available an API to interact with SharePoint servers, this API is accessible through a REST interface or a collection of .NET libraries, primarily the client library (can execute on a different machine to the SharePoint server) and the server library (must be executed on the same machine as the SharePoint server).

Both of these libraries can be obtained from the files installed by the SharePoint SDK. They contain the namespaces Microsoft.SharePoint.Client and Microsoft.SharePoint.Server respectivley.

Further functionality can be accessed through additional libraries, however these libraries are only available from the install path of the SharePoint server and they provide functionality (such as email) only available when executed on the same machine as the server.

355 questions
5
votes
1 answer

Accessing Property Bag for List Item using SharePoint Client Object Model or Web Services

Just to ask if it is possible to access and update properties in the list item's property bag via the SharePoint 2010 client object model? I can see that it possible to get the web's property bag (but not to set), but can't see any support for the…
Tangiest
  • 43,737
  • 24
  • 82
  • 113
5
votes
2 answers

what the best methodology to create lists in sharepoint 2010 for developers?

while developing a solution on sharepoint what's the best method to create site lists is it: 1.Solution features in Visual studio 2.Sharepoint designer 3 the browser considering code reusability and easier deployments.
Bassel Alkhateeb
  • 1,584
  • 5
  • 19
  • 35
5
votes
1 answer

How to impersonate Farm Administrator in server object model?

We are using SharePoint Foundation 2010. We are creating content database and site collection using server object model. We have more than 1000 users in SharePoint. As content database and site collection creation are administartive task, only farm…
5
votes
3 answers

Will using a SPListItemCollection returned from a function reopen the SPWeb?

After reading Stefan Gossner's post about disposing objects and this question about Cross method dispose patterns, I found that I was guilty of accidentally reopening some SPWebs. I know in Stefan Gossner's post he mentions you should dispose of an…
Kit Menke
  • 7,046
  • 1
  • 32
  • 54
5
votes
3 answers

Reading the list items Sharepoint 2010 client object model

I have a list where I am storing the image URLs and I am trying to read list of items and display the images on the page. For that I wrote the script something like below....