2
votes
2answers
22 views

SharePoint group not visible

I created a new SharePoint group using UI. I do not see the group using: $web.Groups | select Name Why? (I need to access to the group by CSOM but the group is not found)
0
votes
0answers
12 views

How can I return differences between versions and access properties that changed?

i have a list in SharePoint 2010 that has fields "title,count" .one of the fields (count) possible to change. I FROCE TO USE CSOM CLIENT SIDE OBJECT MODEL ... NO SHAREPOINT.DLL BUT ...
1
vote
1answer
84 views

groups.getByName(groupname) is undefined

I have copied some snippets of code from here to test if a user belongs to a certain group, I am using Sharepoint 2010, however I am getting an method is undefined error. I am making sure that sp.js ...
2
votes
2answers
198 views

Create list from custom template using csom, c#

I would like to create a list based on a template (.stp uploaded to the list template gallery), it almost works with this code: ClientContext context = new ClientContext("<Your Site URL>"); ...
3
votes
1answer
224 views

Change masterpage from Seattle to Oslo using CSOM, Sharepoint online

Using CSOM and c#, I would like to change the master-page from Seattle to Oslo. Can anybody help me?
0
votes
0answers
12 views

Get IconURL from Microsoft.SharePoint.Client.File object [duplicate]

I am using Microsoft.SharePoint.Client.File object by iterating through a FileCollection. The problem is that this object does not contain the IconURL property. Due to certain reasons, I can not use ...
0
votes
0answers
22 views

Remove document from in-place hold with CSOM?

Is there any way to remove a document from an in-place hold using SharePoint CSOM?
1
vote
0answers
633 views

The remote server returned an error: (401) Unauthorized. Using CSOM in ASP.NET MVC 4

I'm trying to pull data through SharePoint 2013 BDC Models that I have imported from my ASP.NET application which works fine when I run either locally on my machince or locally on the server. ...
0
votes
0answers
74 views

Simultaneous update, delete and add a list item to a sharepoint List object

In the MSDN documentation for C# CSOM, there are separate examples for adding, updating or deleting a single list item from a sharepoint list object (ListItemCollection) Is it possible to combine ...
0
votes
1answer
55 views

CSOM list item manipulation

Short and sweet : I'm parsing an XML document and adding new job openings into a sharepoint list as well as deleting them if the job id's and deleting them if the particular job id is not present in ...
0
votes
0answers
122 views

Office 365 Client Object Model, Unauthorized Exception

I have been trying to read the contents of a list from a Office 365 site. I used this link as reference. Code: var clientContext = new ClientContext(siteUrl); SecureString passWord = new ...
2
votes
1answer
170 views

Extract text from document in a SharePoint 2013 library

I would like to extract the text from documents stored in a SharePoint 2013 online document library. I have the document loaded using: ClientResult<Stream> data = file.OpenBinaryStream(); ...
2
votes
2answers
876 views

Check if site exists from client side

I am currently running the following code to check if there is a site with a title equal to my string myname. This code is however very time consuming because I have a large number of sites. Is ...
2
votes
0answers
184 views

Adding an existing app part using the client object model( finding the xml)

I've recently found this nice thread on adding an existing webpart using the csom: Add an existing WebPart Using the Sharepoint client object Model I've tried the same approach for an app part (so an ...
5
votes
1answer
727 views

Sharepoint Client context (client Object Model) cant load more than 500 records or more

is here any limitation about read the records from any lists in sharepoint? my codes are default that downloaded from msdn: string siteUrl = SharePointAddressURL; ClientContext ...
1
vote
2answers
194 views

Advice on starting development for SharePoint in C#

I'm about to start development of client-side application (C# using .NET 4.0) that connects to SharePoint. Mainly to download/upload documents. I've found out that there are several options: using ...