0
votes
0answers
49 views

REST API Web/Lists SharePoint Online vs. On-Premise - different responses?

I'm currently working on a client application for iOS which retrieves documents libraries from a remote SharePoint 2013. To support SharePoint Online as well as On-Premise installations i got a test ...
0
votes
1answer
424 views

What is the scope of SPContext.Current.Web.GetList?

In my visual web part for sharepoint 2010, I use the function SPContext.Current.Web.GetList("myserverrelativeurl") to get a document library. But I noticed this only works if the link is in the same ...
1
vote
1answer
163 views

Looping through all the document libraries and modify the items

I have here a piece of code which loops through the all site collections and webs and lists to find particular and modify some items: foreach (SPSite site in webApp.Sites) { ...
2
votes
5answers
3k views

How to access List from Sub Site in SharePoint 2010

I have created a Site Named Application Test. In this site i again Create a Sub site Named Sub Application I add in site url "http://SP2010:2222/" in Visual Studio Project Project Scope is Site Now i ...
0
votes
1answer
147 views

removing then setting custom permissions for a list

I have been looking around for few days, but couldn't really figure out, how I will be able to do this. what I am doing is removing all permissions of a given list using following code, using ...
1
vote
1answer
168 views

Add list (from external sharePoint site) in web part

I'm using SharePoint 2007. I need to web-part, in this web part I want to add list' this list is placed in external sharePoint site.
1
vote
2answers
700 views

Get List of Items in SharePoint List

I am trying to get a list of items that are contained inside a sharepoint list. When I use the code below I get an error [ArgumentException: Value does not fall within the expected range.] ...