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

learn more… | top users | synonyms

4
votes
3answers
923 views

Add web part so that we can retrieve it later via CSOM?

How to add a web part on page in such a way that we later on can find it (using CSOM) - Can we somehow store identifier information to the web part? Say user could change the title and description (so ...
2
votes
1answer
535 views

How to load several users by array of login names CSOM

I have a dynamically created array of user logins, I would like to retrieve information about these users through CSOM. I found this great post, but there is explanation how to retrieve all users from ...
0
votes
1answer
185 views

What is the purpose of Microsoft.SharePoint.Runtime.dll in CSOM?

I know we need to use Microsoft.SharePoint.Client and Microsoft.SharePoint.Client.Runtime dll's reference in .NET managed CSOM application development. But can someone help me understand why we have ...
3
votes
2answers
1k views

How to default a Person FormField in New Form Template?

Without using any addons, has anyone discovered a way to set a default value for a <SharePoint:FormField> where the field is a Person/Group? We'd like to default a field on our newform to the ...
1
vote
2answers
758 views

Error while pdating Master Page through JavaScript Client Object Model using SP 2013 App

I have created a Site Collection in SharePoint 2013 online. In this site I am trying to update Master Page through JavaScript Client Object Model. My JQuery scripts are able to change the Site Master ...
4
votes
2answers
2k views

How to enable publishing feature using CSOM?

How to enable site collection publishing infrastructure and site publishing features using CSOM?
3
votes
1answer
654 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?
2
votes
2answers
1k views

SharePoint 2013 APIs for anonymous and/or mobile access

In SharePoint 2013 (Preview), does any of the APIs (csom, REST, etc.) work with anonymous access? With mobile access? I haven't found any reference to this in the documentation. I did a quick test ...
1
vote
3answers
1k views

Programatically Modifying SharePoint List Item-level permissions using CSOM

I have a SharePoint 2013 (on-premises) document library named “Reports”. It inherits the parent site’s permissions (by default). It has a column named “AssignedTo” of type People or Groups (mandatory ...
1
vote
3answers
2k views

Using CSOM to get list item count for multiple lists

I am trying to create a function which should loop through all lists on current web and display their current item count. My code so far: <!-- language: lang-js --> ZN.updateDocumentCount = ...
1
vote
1answer
2k views

Accessing a list from app web on host site generates access denied

I am trying to get title of a list which is located on Host Site from an SharePoint hosted app by using csom (javascript). I have added permission on Manifest file and chose the list but still getting ...
0
votes
0answers
122 views

Sharepoint 2013 List (Parent - Child) using CSOM - Need ECB menu in Parent Tasks

I'm trying to build a feature in SharePoint 2013. Scenario -- I have 2 lists.. List one -> Contain all projects List two -> contain project related tasks. I'm binding custom image on Project ...
0
votes
1answer
142 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
2answers
50 views

Inconsistent ExecuteOrDelayUntilScriptLoaded(function () behaviour in my pages

My users are reporting some strange behaviour with some pages created with the same custom layout pages and custom master page in a sp2013 publishing site Essentially, I have function referenced in ...
0
votes
2answers
464 views

query.set_viewXml retrieving everything

I am writing code for client side object model, and I want to retrieve items with specific title, like this: var context = SP.ClientContext.get_current(); var web = context.get_web(); var lists = ...
0
votes
2answers
193 views

Access DVWP z:row with Javascript [duplicate]

I need to loop through the z:row of a Data View Web Part on the client using JavaScript to push to an array and then use the JavaScript CSOM to create a new list item in an existing list. var ...
0
votes
1answer
98 views

SP2013 App icon not rendered, only App link is displayed + how we can set the sliding transparent hover text over App icon?

I am facing an App Icon related issue. I am creating SharePoint Hosted App which I am deploying to SP 2013 Developer site. By default any app will have the AppIcon set under Images folder. Also it is ...