Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
1k views

How do I speed up below Sharepoint CSOM code?

I have below CSOM code to delete all list items from the list. But it is very slow. How can I make it faster. public void DeleteListData() { string root = "mysite.com/"; ...
sudnep's user avatar
  • 16
0 votes
1 answer
2k views

Read All users related to RoleDefinition of ProjectSite using CSOM

I need to loop through all RoleDefinitiona of ProjectSite and get all users related to each one and add those users to a RoleDefinition of a ProjectSite in another SiteCollection I can loop through ...
Mounir's user avatar
  • 291
8 votes
1 answer
8k views

"Encoded" login names in SharePoint Client Object Model

I'm writing a small .NET proof-of-concept console app that performs a series of actions on a SharePoint document library. I noticed that the following methods expect an "encoded" login name - that is, ...
bernhof's user avatar
  • 6,358
4 votes
3 answers
4k views

Get list of installed apps using Client Object Model

I have been trying hard to find any example, resource which explains how to get a list of installed apps in SharePoint 2013 environment using Client Object Model. So far I have found nothing. Could ...
Moon's user avatar
  • 35.5k
1 vote
1 answer
926 views

Recursive search for sites using Client Object Model using Site Id (GUID)

Using the Client Object Model I am looking for the most efficient way to search a SharePoint server and determine if a specific subsite exists given its unique ID (GUID). We are storing the GUID in ...
Randy Michak's user avatar
0 votes
2 answers
1k views

Better option to read list items form a sharepoint 2010 list using js

i have a concern about which is better option to fetch list items from sharepoint 2010 list in javascript there are 2 available options 1) sharepoint 2010 client object model http://msdn.microsoft....
Ishaan Puniani's user avatar
0 votes
1 answer
3k views

Sharepoint client object model. How to get current list view?

Sharepoint list contains 6 views. I am staing on sharepoint page where items filtered by list view query. how can i get current view or view title with client object model?
Ievgen's user avatar
  • 4,463
1 vote
2 answers
2k views

SP2010 Client Object Model: Uploading File to Drop Off Library Doesn't Apply Content Organizer Rules

I am currently developing a service using the SharePoint 2010 Client Object Model to programmatically upload Excel worksheets to a Drop Off Library and then set the properties on the file. This ...
lsuarez's user avatar
  • 5,002