1
vote
1answer
16 views

breakRoleInheritance and RemoveRole CSOM

I need to breakRoleInheritance on the items of a SharePoint2013 list. I need to remove all the current roles and add only the Owner and the Current user. How can I do it by client side? Thanks, Nk
0
votes
2answers
28 views

How to insert record to sharepoint multi choice field via CSOM

I am trying to insert a Multichoice (checkbox) field to sharepoint via the SP namespace in javascript. Updatnig single choice is simple. For Multichoice I have tried: var itemCreateInfo = new ...
1
vote
0answers
34 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
1answer
51 views

getting Regional settings in Javascript from CSOM

I am creating a custom data entry app in sharepoint using the CSOM. I need to update the default value of a datetime field, I can get the default value but the datetime is in UTC Format. I need to ...
1
vote
1answer
47 views

Upload Image to Sharepoint Photo Library from asp.net mvc

I have a Provider Hosted App, one of it's functionality is to upload the images into sharepoint picture library. I am able to store the picture into some folder, using the below code. public ...
0
votes
0answers
18 views

passing information from Sharepoint to Immersive Sharepoint App

I have created an custom add entry app to sharepoint. It all works however currently the list it works on is hard coded. I want a way to pass the list I want to add an entry to to the application. I ...
2
votes
2answers
44 views

return to sending page from an CSOM app

I am creating an App via the javascript + CSOM... After I have finished processing I need the app to send the user back to the original page he was on. How do you retrieve the page from sharepoint to ...
3
votes
0answers
83 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..
5
votes
3answers
253 views

Get if user has permissions to access to a Cloud App for Sharepoint 2013 with JavaScript CSOM or Rest Api

I have developed a Cloud App for SharePoint 2013 on an office 365 server, and I figured out that to set the user permissions(who has access to it) for that app can be find over ...
1
vote
1answer
63 views

How to debug this error when accessing host web from a app

I'm really having trouble debugging this simple task: Read items from the host web in an app. I've tried several examples but getting various errors. Problem is that the errors are in Norwegian. That ...
1
vote
1answer
344 views

Sharepoint 2013 .NET CSOM CamlQuery Join

I am unable to create a working query with join in my .net csom application. I was using this article: http://msdn.microsoft.com/en-us/library/ff798388.aspx here is my code: ClientContext context ...
0
votes
0answers
53 views

field 'choices' not initialized not requested

Hi im using the following code to get choices of a Choice site column. some times Im getting 'Chices' not initialized error in console. var searchtaxonomy_context = SP.ClientContext.get_current(); ...
0
votes
0answers
74 views

Property Equivalents in JSOM (CSOM)

This is a piggy back question off my earlier post here There are several C# properties that I can't find an equivalent for in JavaScript Object Model (aka CSOM... aka SharePoint Object Model). This ...
2
votes
1answer
705 views

Custom Site Creation with CSOM

I have the need to customize the site creation process in SharePoint Online. Is this possible via an app using JavaScript CSOM? If so can anyone point me in the right direction.
0
votes
0answers
58 views

Having trouble setting up a secure architecture using the SharePoint App model and an external REST server

We have a situation that I am having a very hard time finding information on. We need to create an app in SharePoint 2013 that uses an external data source. It's an ODBC source accessing a non-MS ...
2
votes
2answers
634 views

Modify Attributes and Properties Using JSOM(CSOM)

Before I describe the problem, I want to clarify that what I'm looking for is A generic way of updating various attributes/properties using JSOM. I'm using an Office 365 dev account testing a ...
0
votes
1answer
225 views

Sharepoint 2013 App Cant Update Fields on Lists in parent web

I have a Sharepoint 2013 O365 App that is Autohosted. It is doing a simple list item creation on a remote sharepoint list in the site that owns the app. I have added app permissions of all kinds to ...
0
votes
1answer
291 views

set taxonomy field multiple values

I'm creating a sharepoint hosted app which is based on javascript only. I wanted to update a multivalue taxonomy field in a list so I wrote this function which didn't work. there is a very little ...
0
votes
1answer
710 views

Deleting file using CSOM - C# deletes file but throws exception “File Not Found” [duplicate]

i am working on function that deletes a file from Share Point Documents. The function works but it throws exception that file not found. protected void DeleteFile(string filename, Uri hostWeb) { ...
2
votes
1answer
395 views

Accessing files in SharePoint AutoHosted App 2013

I am creating an AutoHosted App in SP 2013 and trying to access the file under one folder of remote Web ( need to pick the file from current project directory location and pass that file to another ...
2
votes
0answers
180 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
2answers
314 views

How to set Navigational properties through App event receiver in SP2013

I am trying to set the navigational properties in SP2013 autohosted app. I am doing this at App installed receiver. I have written below code for that, which is failing with error message: - The ...
0
votes
5answers
408 views

SP2013 CSOM, am I missing something?

The CSOM samples from Microsoft.. the samples I find online.. blog posts and resources.. ALL seem to use CSOM from a C# app. If the push is to write Apps and use a client-side model, why are there no ...
0
votes
1answer
49 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 ...
1
vote
2answers
470 views

accessing the SP2013 Site Settings-->Master Page/Navigation settings etc using CSOM (client side object model)

I want to access the SP2013 Site Settings-->Master Page/Navigation settings etc using CSOM (client side object model) using JavaScript or REST service or Webservice which I can call from Javascript. ...
-2
votes
3answers
532 views

Why not use Sharepoint 2013 as just a backend for REST / CSOM clients?

This might sound a bit extreme, but now that REST / CSOM API's are more fully featured, why not just write web apps in whatever framework you're comfortable with and utilize the REST / CSOM API's ...
6
votes
1answer
385 views

Previous versions of ListItem with CSOM

When using Client-Side Object Model for SharePoint 2013, how can I access previous versions of List Item?