Tag Info

New answers tagged

0

are you creating your list programmatically or it is generated using the OOTB options ? if you are creating the list programmatically then you can use the below method to enable ratings in your list schema. Add this to your default view (or any view you want) in Definition Schema of the List <ViewFields> <FieldRef Name="AverageRating" ...


0

I used SPItemEventProperties.AfterProperties instead of inner SPListItem and it worked fine. Thanks for reply. I'l try to set Synchronous and check if it help.


1

As @Evariste and @Eric mentioned in comments: CAML Query is case-insensitive. The solution was to filter the results from SPListItemCollection queryResultItems = docTypeList.GetItems(query); and check for case-sensitive. I created a small method which does this. private SPListItem FindCaseSensitive(string documentType, IEnumerable items) { ...


0

I have seen other posts where users claim that SPList.Hidden is somehow different from SharePoint Designer's option Hide from browser. It is my belief that both the code approach and the designer setting are one and the same. A potential reason why a list no longer appears in SharePoint Designer after you mark it as hidden is usually when the permission ...


0

It seems that you are using CAML query to retrieve and that query is exceeding the threshold limit. Try this piece of code and try pulling from List itemposition: ClientContext context = new ClientContext"Site URL"); string username = @"username"; string passw = @"password"; SecureString passWord = new SecureString(); foreach (char c in ...


7

How about using paging with the 'old' listdata.svc? It supports paging with the ODATA skip and top parameters like so: http://sharepointsite/_vti_bin/listdata.svc/MyList?$skip=100000&$top=10000 Then you can pull e.g. 10,000 items at a time and iterate over the list contents. This is supported in SharePoint 2010, 2013 and Online.


0

Instead of exporting from SharePoint, you can try importing from Excel through add-ins like http://www.cdata.com/drivers/sharepoint/excel/ (commercial). The Excel Add-in allows you to connect to Sharepoint lists, and filter data through transact SQL.


0

if you are working with Sharepoint2013 than 2013 provide out of the box service to export sharepoint list to Exel or Access. I have refer This one , you can also try it . https://www.microsoftpressstore.com/articles/article.aspx?p=2224034&seqNum=2



Top 50 recent answers are included