Tagged Questions
0
votes
0answers
64 views
sharepoint 2010 linq query Assigned to column of list
i need to query using linq to assign to (person or group type column) i have generated my context class using SPMetal.
any code example or url wil be appreciated.
i need to know in context of ...
5
votes
3answers
541 views
sharepoint caml is fast - how?
We all know that Caml is faster than using linq, since linq internally gets translated to caml.
But can anyone explain how caml is best to do sharepoint queries or how it is fast or what makes it ...
0
votes
1answer
201 views
How to do Scope=RecursiveAll with Linq To Sharepoit
I have the following CAML query:
caml = string.Format("{0}", code);
query = new SPQuery { Query = caml, ViewAttributes = "Scope = \"RecursiveAll\"" };
This query search in a document library a list ...
0
votes
2answers
141 views
Delete item from COM. Don't find Item
I'm trying to delete but the code seems that can't find the Item field :
try
{
using (ClientContext context = new ClientContext("http://to0wss2k10rey03/sites/ReplyCorp"))
...
0
votes
1answer
60 views
Get client query of a server query
I?m trying to get
how can I get the query but on the client context?
SPWeb webRoot = scSite.OpenWeb();
SPListItem selectedItem = (from SPListItem item in ...
1
vote
1answer
126 views
LINQ Query to obtain only the list names
How can I get only the lists present in a particular site?
I've tried the following one:
var listNames = from SPList list in web.Lists
where list.BaseTemplate !=
...
2
votes
2answers
508 views
How to find a file with name = X in a SPList
Looking for recommendations. Have a file in a document library with name x.txt. In a workflow code behind, I need to get the file to read its contents. What is the best/most efficient way to do ...