Acronym for Client Side Object Model. It comprises both managed (.NET) and JavaScript object model (JSOM)

learn more… | top users | synonyms

3
votes
0answers
22 views

change NavigateForFormsPages value to true using CSOM

I'm searching for a way to change NavigateForFormsPages property using CSOM but no luck till now. Anyone has idea to do it using CSOM
3
votes
0answers
84 views

Change SiteLogo via csom in SharePoint 2013

Regarding to this Question link. How can i change the siteLogo to a new one? Is it even possible to do it from a ConsoleApplication via CSOM?
3
votes
0answers
167 views

Deploying and Installing Sharepoint apps into App catalog using CSOM

Can anyone suggest me on how to use SP.AppCatalog() in JSOM or CSOM and get the all apps in AppCatalog, Not AppInstances..
2
votes
0answers
43 views

Access Denied on use of AppPrincipalManager

We are getting the following error Access denied. You do not have permission to perform this action or access this resource. when executing the following code AppPrincipalManager ap = ...
2
votes
0answers
35 views

CSOM / Webservice multilingual provisioning site columns, lists,

Is it possible in SharePoint 2013 to create site columns, content types, lists, libraries, ... in different languages (so, with different display names) by CSOM (client server object model) or a ...
2
votes
0answers
149 views

Manage links for shared files

I want to create a link using SharePoint CSOM API so anonymous user can read/edit file. I found the following workaround to get it via adding role assignment: var newRoleAssignment = new ...
2
votes
0answers
95 views

How to access Page layouts and site templates using CSOM?

How to access Site Settings > Look and Feel > Page layouts and site templates using CSOM? The page allows end users to change these settings: Subsite Templates: subsites can use any site template ...
2
votes
0answers
206 views

Design Package import SharePoint 2013 using App Installed event CSOM

In SP2013, I am trying to import and export the design package from one site to other site using AppInstalled event using CSOM. I am not able to get the context of source site to import the design ...
1
vote
0answers
24 views

Problem storing SharePoint context in Provider hosted app hosted in a azure website

I created a provider hosted app, which I want to deploy in a azure website. The problem that I'm currently facing is that I don't have a SharePointContext after postback. I'm using the default way to ...
1
vote
0answers
35 views

Update folder name using rest api

I am using REST to update folder name via sharepoint apps. My code as follows. executor = new SP.RequestExecutor(appweburl); executor.executeAsync({ url: appweburl + ...
1
vote
0answers
85 views

CSOM caml query list view lookup threshold

I have a list with about 15 managed metadata columns in it. Now I want to query that list using CSOM. I don't want to retrieve all the columns values so I limited the column values retrieved by using ...
1
vote
0answers
52 views

Find Zone ID of list view webpart remotely

How to find the ZoneID of a list view webpart remotely? We can use any means to get the information; CSOM, JSON, web services or hacks. But we cannot use server-side code. We can know any information ...
1
vote
0answers
457 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. ...
1
vote
0answers
78 views

SharePoint Online CSOM create managed properties

I'm trying to find a way to deploy search managed properties via script to my Office 365 SharePoint tenant. Previously, for on-prem SharePoint I've achieved this using PowerShell - fairly straight ...
1
vote
0answers
237 views

Content Search webpart with sort/query using CSOM

How can we add a Content By Search webpart using CSOM when we want to use a custom query (in SP2013)? Would there be an easy way? For example, could we just Import the web part Set ...
1
vote
0answers
35 views

How to set the _CheckinComment with CSOM

I'm looking for a way to set the _CheckinComment. If i try It like this: Microsoft.SharePoint.Client.File myUploadFile = myList.RootFolder.Files.Add(fileCreationInformation); ListItem ...
1
vote
0answers
102 views

Error Setting Ratings using SharePoint Client Object Model

We are attempting to use the example located on this: Site We are receiving the following error: "The assembly Microsoft.SharePoint.Portal.Proxy, Version=15.0.0.0, Culture=neutral, ...
1
vote
0answers
46 views

Jsom not working when user is reader

I am using following code to get terms from a termset in MMS. It is a office 365 solution and some of users is external users which have read permissions. The javascript doesn't work when user is ...
1
vote
0answers
45 views

Manage files with no checked in version - CAML query

I am using Office 365. We have a document library containing more than 12000+ documents, with a number of folders and subfolders. I need to find a way to get all document which have no checked in ...
1
vote
0answers
111 views

Windows Authenticated API calls failing when I use a custom sign-in form for FBA

I have a SharePoint 2013 web application configured for both Windows Authentication and FBA (which is working fine). I also have some code which executes a CSOM request using windows credentials, ...
1
vote
0answers
471 views

Check given user's listItem permissions with SharePoint 2010 Managed Client Object Model (c#)

Is it possible to determine if a user can access a given item identified by its url without the users context - it has to be done with CSOM. Code so far: var file = ...
1
vote
0answers
166 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 ...
1
vote
0answers
134 views

Get the Hierarchical Structure of Taxonomy Terms (for all TermSets) using SP.Taxonomy.js

I am trying to get all the terms from the termsets within a term group, maintaining the hierarchy using SP.Taxonomy.js (SP2013). Unfortunately, there seems to be no REST support for taxonomy in SP ...
1
vote
0answers
308 views

Provisioning fields and content types through JSOM

Im trying to add a field to a content type through some code on Chris o' Briens blog here. I have modified the code slightly to add multiple fields to a content type. See below: function ...
1
vote
0answers
153 views

using sharepoint OOTB DragDrop.js library in Custom webpart

I implemented drag and drop file upload functionality with using REST api in my webpart . But i found an OOTB sharepoint dragdrop.js library which has numerous methods to create drag drop control. ...
1
vote
0answers
330 views

Is it possible to programmatically add page items to Enterprise Wiki using CSOM or REST?

Like a lot of us I'm green when it comes to SharePoint development. I've been tasked with moving MediaWiki content over to a SharePoint Enterprise wiki. At this time I do not have access to the server ...
1
vote
0answers
109 views

SharePoint-hosted app, with edit mode to update its own properties

I'm using the editMode parameter to detect and display a simple web part admin UI. When the admin clicks a particular button, I want to use CSOM to update the web part's properties for the page it is ...
1
vote
0answers
99 views

Getting column information from a sharepoint 2010 list

I'm trying to figure out how i can get information about a column in a Sharepoint List, like what type of column it is (single line, number, date etc...) and whatever additional column info that ...
0
votes
0answers
21 views

People search using CSOM API

I am using CSOM in API. I used following code for content search in documents and now want to integrate People search which can search users from sharepoint website using CSOM. ...
0
votes
0answers
30 views

Setting value of Enterprise Keywords using CSOM

I have included the enterprise keywords column in my contenttype and list and I try to set the value using the managed CSOM. I just used the default already existing column so the column name is ...
0
votes
0answers
12 views

Create Calendar powershell CSOM

How would I go about creating a calendar in powershell using CSOM. I have created a custom list before, using this : Add-Type -Path 'C:\Program Files\Common Files\microsoft shared\Web Server ...
0
votes
0answers
17 views

Filter ListView by Current User's City

I have a 2013 list view on a custom page. It is working with JSLink + all of the great OOB features. I have a city column in that list. How can I dynamically filter it based on the current user's city ...
0
votes
0answers
36 views

Route documents to another site collection if approaching size limit

We'd like to have a Drop Off library look @ the current site size, and if it is approaching a limit, send the file to a different site within the site collection. It's kind of like a "you are ...
0
votes
0answers
21 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?
0
votes
0answers
34 views

JSRender modify dispform.aspx button

I want to modify the button, the display text and the url link. How can I do that with JS-Link?
0
votes
0answers
37 views

User or Group field SharePoint 2013

I have a field in a list that is a group or user field with multiple user choice. Now i want to check if there is 3 users in that field, i want to check if the current logged in user is equal to the ...
0
votes
0answers
17 views

Hide Elements on topnavigation

I have a metadata navigation dropdown in SP 2013, How can I hide a specific element with a specific title?
0
votes
0answers
26 views

CSOM search and offline availability property

How do I disable the Search & Offline availability property using CSOM. I need to disable the sync feature in all my site collections.
0
votes
0answers
69 views

SharePoint csom set_item limitation

Is there a limit on set_item with csom ? If i add a third: olistItem.set_item("Body", "test"); It doesn't work var theList = clientContext.get_web().get_lists().getByTitle('userData'); ...
0
votes
0answers
43 views

Uploading versioned wiki pages to sharepoint using CSOM

I'm trying to upload versioned wiki pages to sharepoint using CSOM. I store the files to be uploaded in FileCollection and the following is the code FileCollection.AddTemplateFile("Filename", ...
0
votes
0answers
61 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
0answers
181 views

CSOM OpenBinaryDirect generates 401 error on office 365

I have used same instance of ClientContext inside a RemoteEventReceiver (MinRer.svc.cs) in a provider hosted app to get RootWeb, SubWebs, ListItems and I have added ListItems to lists. It works like a ...
0
votes
0answers
47 views

BCS Managed Client Code Get all method instances

When using the class Microsoft.BusinessData.MetadataModel.Entity entity; does anyone know how to get all the External Content type operation method instances so i can dynamically pass the value to ...
0
votes
0answers
31 views

Upload document to sharepoint office 365 - file Type Icon

iam trying to uploading the excel file to office 365 share point using CSOM with C#, i able to uploading the file,but file type icon(EXcel symbol)is not showing in share point site. any one can help ...
0
votes
0answers
132 views

SharePoint 2013 BCS External Data Column

How do I return all entities without using entity.GetFilters() ? I have the following and I can only seem to produce a FilterCollection. I would much rather have just all the enities because i am ...
0
votes
0answers
74 views

401 when authenticating against Sharepoint Online

Good morning. Being very new to SharePoint, I've been trying to write a very basic app to create a new site inside my Sharepoint Online tenancy, but I can't seem to get it authenticated. I'm using the ...
0
votes
0answers
71 views

How to create dashboard through CSOM to show workflow from external lists

We have following requirement. SharePoint 2013 standard edition environment is installed. SO no BI site template is possible. Development has to be through CSOM only. Vendor data is stored ...
0
votes
0answers
272 views

SharePoint2013 search exception using CSOM

I have created Bing result source and have attached to SharePoint search. When I go to the search site and perform search it's returning results, but when I tried to access the results using csom it's ...
0
votes
0answers
35 views

OpenBinaryDirect times out when downloading a file from a subsite

I'm trying to download files from sharepoint online. I'm using: Microsoft.SharePoint.Client.File.OpenBinaryDirect(clientContext, file.ServerRelativeUrl).Stream; Which works fine for files at top ...
0
votes
0answers
112 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 ...