I encountered the following error when adding a user to a SharePoint folder object: Exception calling "Add" with "1" argument(s): "Collection was ...
I encountered the following error when adding a user to a SharePoint folder object: Exception calling "Add" with "1" argument(s): "Collection was ...
Suppose i have a sharepoint list. Please find below details I just wants to get all column values like Name,Modified etc if Name is duplicate lik ...
I want to get fields list of SPSiteItemCollection that limited by SPQuery view fields. for example I limited the view field which CAML query like this ...
I first generated the ontology. It was successful. Then, I want to take sibling classes name for each class and count number of sibling classes of eac ...
I've encountered a strange issue when writing an SPQuery and specifying ViewFields. I have eight fields that I need. Five of them are indexed. My iss ...
I am retrieving all items from list containing around 4000 items. But it seems to take longer time to fetch all items which is ~15 to ~22 seconds. Is ...
I cant get this simple SPQuery working. It does not return any items. Although my document library has 5 items with Modified date as 22/08/2013 12:46 ...
I'm trying to retrieve items from list using this Query: On runtime i get the following exception: SPException: One or more field types are not ins ...
I have 2 lists: listA and listB listA has 2 fields: listB has 3 fields: I have a UserID value and I need a quick way to get PortalID value. Cu ...
I want to discuss a scenario here: I want to build a search criteria by using dynamic SPQuery. On my application page, I have 2 textboxes, 2 comboboxe ...
I'm trying to sort a list where a column is based on multiple value on a lookup field with the following statement: If I uncheck "Allow multiple va ...
I have this SPListItem.Folder in sharepoint that contains a property named "Asset ID". I have this data in my list In my code I did this I use ...
I am listing files from multiple folders using the below code: the code is working fine for listing items, but i need to filter items by Site name ...
This is really a simple question. What does GetItems method return if SPQueryobject did not find any match? if i call the update method, if it did fin ...
In VS2010 I have a SharePoint 2010 project with an Application Page. In this simple page I have header information about an order and a SharePoint:Lis ...
I have a sharepoint list like that: How can I get all Folders in List? After that checking if current user has Contribute permission on Folder ...
Assume that there are Emp and Dept tables. Emp Table has Dept table has i have to display all the employee details based on DeptName using CAML ...
I'm trying to use GetItems() method on a SPList and I pass SPQuery to it. The problem is, it return all the items from my SPList instead of just the f ...
I am trying to search for an item in a SharePoint list using SPQuery, but even though the file is there, the result is null. The code is the followin ...
I have around 10000+ rows(Listitems) in a list I want to query. I want to iterate each of the item in a timerJob - but I cant take all of them at a ...