Tagged Questions
0
votes
1answer
18 views
DirectoryNotFoundException when trying to read Picture Library using Linq
I am trying to read a picture library named "ImageLibrary" as follows:
SPList list = web.GetList("ImageLibrary");
But I am getting following error:
DirectoryNotFoundException
How do I read ...
0
votes
1answer
350 views
Is it possible in LINQ to SharePoint
I have a task to make a WSP, which should provide definitions of custom list and library, but not instances. List definition has a lookup column to library item
<Field ...
0
votes
1answer
1k views
Getting items from rows 4-8 in a Sharepoint list using CAML query?
Here is the code Im using to retrieve the first 4 most upcoming announcements from the OOTB announcements list in sharepoint:
How do I modify this to retrieve the next 4 (5,6,7 and 8) most upcoming ...
0
votes
1answer
623 views
An item with the same key has already been added when trying to recover my list using Linq (SPMetal)
I have a problem with my application SharePoint. The problem is that I added a List in my SharePoint site (directly in SharePoint), then I used SPMetal LINQ to generate a File in which I can recover ...
0
votes
1answer
214 views
EntityList empty when querying items provisioned in List Instance XML
I'm not sure if I have found a bug here or if I'm doing something wrong.
I have a list which I provision using a SPI in Visual Studio, in the List Instance XML I provision some default list items ...
1
vote
1answer
96 views
What is the best way to access sharepoint lists?
In the past I tried with linq using spmetal, but after the project was almost finished I realized of some limitations, this tool does not generate fields for creation date, modified date, also it ...
2
votes
1answer
312 views
merge two lists with WCF Services and Linq
How do I merge two lists when using REST services? You can't use union with linq and dataservicequery so I'm not sure where to go.
The following doesn't work with dataservicequery...
var docQuery = ...
0
votes
2answers
323 views
How can i access sharepoint using LINQ instead of CAML?
is there any way to access Sharepoint lists via LINQ instead of CaML?