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

learn more… | top users | synonyms

0
votes
1answer
13 views

Search documents contents using SharePoint 2013 REST API or CSOM

I'm wondering if there is a way to query the actual contents of the document using the REST API or using the CSOM and CAML from an ASP.NET application? I remember in a previous job that we used FAST ...
1
vote
1answer
61 views

SharePoint 2013: Creating custom list in SharePoint using CSOM

I'm having a difficult time creating custom lists using the SP JS API. Here's what I'm attempting to do: var lciTasksList = new SP.ListCreationInformation(); lciTasksList.set_title('ProjectTasks'); ...
1
vote
3answers
58 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 ...
0
votes
1answer
21 views

Add URL to the Taxonomy Terms Created using CSOM

I have been successful in creating terms in the term store using CSOM code. But I have been not been able to set URL for those terms. Small code snippet - TermSet termset = ...
0
votes
0answers
7 views

how can access indicator status with client side object model SharePoint 2010 with c#

i want to access indicator status in kpi list in sharepoint 2010. using (ClientContext context = new ClientContext(siteUrl)) { context.Credentials = new ...
0
votes
1answer
31 views

Get a Content Type by Name (Title) using CSOM

I am applying a temporary fix to some CSOM code whilst a more permanent fix is given to me hence I want to create the equivalent of ctx.Web.Lists.GetByTitle("Contoso ...
0
votes
0answers
17 views

Issue in retrieving All users from a Person or Group type column using C# COM for each List Item

I have a requirement like this: There is a SharePoint 2013 document library, say, MyReports. MyReports has a column "AssignedToUsers" which is of type Person or Group (multiple selections enabled). ...
1
vote
1answer
63 views

Version Conflict issue with JavaScript Client Object Model code

I'm running into an issue where I'm trying to modify a metadata field on a document within a document library. My code, will check out the document, update the metadata field and then check in the ...
4
votes
2answers
70 views

Hide document library using CSOM

I want to prevent users from accessing some document libraries. I have used the following code but it didn't work, Any solution? doclibraryinstanse.Hidden = true; doclibraryinstanse.Update(); ...
3
votes
1answer
42 views

Determine “normal” Users from User Collection loaded with CSOM (provider-hosted App)

In my provider-hosted app I load the UserCollection from SharePoint by CSOM (Client Side Object Model), like this: UserCollection users = web.SiteUsers; ...
0
votes
0answers
19 views

Improve performance of generating thumbnails from pdf file

I have developed provider-hosted App and used Aspose.pdf (code below) to convert PDF files stored in document library to jpg files, so i can view it as thumbnails. I have issue in performance as I ...
2
votes
1answer
38 views

Check if a document set exists

I'm trying to determine whether a document set exists - if it doesn't I'll send it off to another function to create but I'm not getting the correct value back from my query. I think it has to do ...
0
votes
2answers
56 views

How do I move files from one document library to another using JSOM?

I have two document libraries on the same web, and am wanting to move the files from one to the other using JSOM/CSOM. Can anyone please shed some light on how to do this? Thanks
2
votes
1answer
30 views

Accepted way of checking for SharePoint CSOM in JavaScript?

What I'm trying to do is build a dual purpose JavaScript that might run inside or outside of SharePoint, so I need something like this: if(SharePoint CSOM Exists) { //Do a bunch of stuff involving ...
0
votes
2answers
32 views

Cannot update list item properties Server Object Model in context of SP, can update via CSOM

I am trying to update a SPListItem metadata properties after inserting this document into a document library. Fortunately though the CSOM, this is quite easy: private void ...
1
vote
0answers
19 views

Creating a navigationnode of type Link from csom

I have a publishing enabled web that I want to add a link to, not a heading. var node = web.Navigation.QuickLaunch.Add(new NavigationNodeCreationInformation { Title = "Dokument", Url = web.Url + ...
0
votes
2answers
19 views

Is there a place to upload open source code for others to utilize?

I am very new to SharePoint just began working in it within the last month. I have been creating Taxonomies within the Managed Meta Data for a company website, and I have run into a lot of issues with ...
2
votes
0answers
19 views

SPListItem.BackwardLinks equivalent in CSOM, JSOM, or REST?

In the Server API for SPListItem there is a property called BackwardLinks that returns a collection of items that link to the item. I don't see the same property in CSOM, JSOM, or REST. Is there a ...
0
votes
2answers
31 views

I am planning to use GetFieldValueAsHtml in CSOM world and I am not able to find that method for FieldMultiLineText class

I am planning to use GetFieldValueAsHtml in CSOM world and I am not able to find that method for FieldMultiLineText class Let us know how to get this method in the CSOM world. But that method is ...
1
vote
0answers
41 views

Setting SPWeb.AlternateCssUrl via CSOM or JS

According to this Microsoft Office 365 Blog post the SharePoint CSOM (.Net, REST, JS) has been enhanced to support setting SPWeb.AlternateCssUrl: ...
1
vote
4answers
43 views

CSOM programming - for regular user

Should I as a SP Admin be concerned about when a professional contract developer uses CSOM? I just want to make sure the code is good. What is your opinion?
3
votes
2answers
151 views

Creating variation labels using CSOM in sharepoint 2013

Can anyone tell me how to create variation labels using CSOM?
1
vote
0answers
11 views

How do I create a page in a SharePoint host site from azure hosted app?

When I run the following code from azure with the app permissions 'Full Control' I can successfully create a page in the parent SharePoint(online) site. If I change the permissions to 'Manage' at site ...
1
vote
0answers
27 views

How to auto generate parent MMD columns based on child MMD columns?

This is the structure of one of my Term Sets. I have a Site Column called Record Type (Deeds, Agreements, Permits) I have a Site Column called Deed Type (D1, D2, D3) I have a Site Column called ...
0
votes
1answer
105 views

Remove role from group programmatically, CSOM

I would like to remove the contribute permission level from a specific group. I use this code: Group group1 = web.SiteGroups.GetByName("StudentsKls11"); RoleDefinition readDef = ...
0
votes
1answer
37 views

check if list has already been created

I've written a bit of powershell for creating a list just wondering how add say an if statement to check if its already been created. In Client side not server side here is my code : param( ...
1
vote
1answer
218 views

How to use CSOM/Powershell to update list item(s) in O365 from CSV

Not a programmer, but need to get a job done. Using Powershell and CSOM I've found examples and been able to import CSV into a list as new items. That is working. Here is a code snippet I'm using ...
2
votes
1answer
94 views

Create list and add a choices column to default view

I would like to create a link list, and then add a choice column (Field) with two choices to the default view. Using the following code i am able to create the list and add a column (Field) to the ...
1
vote
3answers
93 views

Add items to list programmatically

I would like to create a menu from the listtemplate Promoted Links, with several tiles. I use the following code to create the list, and create new list items: ListTemplate listTemplate = ...
1
vote
0answers
44 views

Open Quick Launch link in new window (CSOM)

How to add a link opening in a new window/tab to the quick launch menu using CSOM? There is some discussion about the server-side here and here but they are dealing with the Properties collection of ...
0
votes
1answer
46 views

Based on URL how to set Global navigation nodes (CSOM) node as active - javascript

I want to use the same navigation everywhere (mysite, teamsites ..) So I'm fetching the (managed navigation) global navigation by csom in the masterpage. The global navigation is only going to show ...
2
votes
2answers
29 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
23 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 ...
0
votes
0answers
55 views

SharePoint 2013 Event ID 3760 SQL Database ' ' on SQl Server Instance ' ' not found

I am running into following error message into my Event Viewer in the Sp2013 Web Server. Site is stable and no issues realted to db. But repeatedly it is throwing following errors: Log Name: ...
1
vote
2answers
98 views

Does ExecuteQuery have a cache/timeout/etc?

I wasn't sure how to phrase the title, forgive me. I'm running into an issue with the CSOM (SharePoint 2010, but likely in 2013 as well), where my initial ExecuteQuery() statement takes upwards of 20 ...
0
votes
0answers
13 views

Activate Site Collection feature in SharePoint CSOM

I want to activate the site collection features by making use of CSOM in code behind. Kindly do the needful ASAP. Thanks in Advance, Pravin Dhulap
0
votes
0answers
17 views

Stuck on designing library with folders for each User

I have a requirement to create an HR document management structure, but I'm a little stuck on how best to design it. Environment: SP2013 Standard... they don't want anything that would make an ...
0
votes
1answer
84 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 ...
0
votes
0answers
69 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 ...
1
vote
1answer
78 views

NavigationTerm.GetWebRelativeFriendlyUrl() returns value using SSOM, but returns NULL using CSOM

I'm using Managed Metadata Navigation and I'm trying to access it using CSOM. The problem I'm having is that I can't get the friendly URLs for the terms. If I run this code using the Server Side ...
0
votes
1answer
51 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
1answer
32 views

Get User Properties By Id

I am having trouble finding documentation on how to query for user properties via JSOM or CSOM using a SP UserID. I must be missing something because SharePoint returns an ID for the user involved in ...
1
vote
0answers
114 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
1answer
77 views

SP O365 uplaod big file via CSOM

Hi I try to upload large files (900 MB) to SP online (actually the OneDrive Business) but seems to follow SP style. Try this via CSOM and powershell 70 MB are fine but when I try 900 MB a timeout ...
0
votes
1answer
60 views

Identify if a Library item is a folder or not in CSOM

I have Library on which I have created a ribbon button. On click of the button I am trying to identify if the selected item is a folder or a file. below if the code snippet that I am using: var ...
0
votes
3answers
40 views

In managed .NET CSOM, why do we have to load list to get items when we are already loading the web?

We are using managed .NET CSOM. We are loading the web. But when we try to fetch list names using web.lists, we get error. To resolve we have to load web.lists. Why do we have to load list to ...
0
votes
2answers
35 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
1answer
56 views

What governs the decision to use server object model or client object model or javascript object model or REST?

What governs the decision to use (in SharePoint 2013)?: server object model (ssom) client object model (csom) JavaScript object model (jsom) REST
1
vote
2answers
76 views

Can we count the list items by group using Listdata.svc in SharePoint 2010?

I want to display a dashboard based on the SharePoint list items, can we get the items count by group using Listdata.svc? Could use the below query to get the count for a group ...
0
votes
1answer
90 views

Hiding the toolbar of a Listview webpart through CSOM

I recently successfully added a web-part to the frontpage using the method from Add Document Library XsltListViewWebPart using CSOM or web services However, it seems impossible to disable the toolbar ...