-1
votes
1answer
19 views

Add/delete list item using knockoutjs

I need knockout js code to add/delete a list item. Any ideas?
1
vote
1answer
39 views

get_defaultViewUrl () not working in SP Hosted app

I am trying to get the default view url of a list in SP hosted app. Below is the code i am trying, on execute success method. spListobj.get_defaultViewUrl(); It is returning me this error : The ...
1
vote
1answer
253 views

2013: Trying to pass jQuery user object to AngularJS

I am creating a SharePoint Hosted App and the default Visual Studio project uses jQuery to access the SP.clientContext to get_currentUser and save it in a global variable. To trigger an AngularJS ...
0
votes
1answer
33 views

Multiple Languages Support For Sharepoint App [duplicate]

I have developed an app for SharePoint and it is available on SharePoint app store. Currently it is in English only. Now i want to add support in multiple languages such as German, Japanese, French. ...
2
votes
1answer
463 views

SP.RequestExecutor on SharePoint online

I deployed an App SharePoint hosted. I am using SP.RequestExecutor and it is working fine on SharePoint premise. but on SharePoint online it is not working. I added the library using this: ...
3
votes
1answer
101 views

How to set a List's Default Content Type (order) by using Javascript?

I've spent a lot of time Googling and MSDNing on this topic and then stopped at the set_uniqueContentTypeOrder method. This method will take an array of Content Type IDs and change the "New Item" ...
1
vote
1answer
267 views

Get ContentType name with select fields

I have a problem with getting the ContentType name for a item. when i use http://sp2013dev/sites/mms/_api/web/lists/GetByTitle('List')/items(1)/?$expand=ContentType I get as response all Fields ...
0
votes
2answers
294 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 ...
0
votes
1answer
98 views

Navigating to new page loses querystring

I have a on premise sharepointed 2013 application. On the home page, there are several links to different pages within the application itself...such as <a href="User.html">User</a> ...
0
votes
1answer
57 views

Sharepoint Hosted Permission (SP 2013)

I am developing a test REST app currently, the app is sharepoint hosted and is being developed and deployed to the SP site without Sharepoint installed on my Machine. The app is meant to take in a ...
1
vote
1answer
204 views

Sharepoint 2013 delete AttachmentFiles by JS

how can I delete an AttachmentFiles of a list item by Javascript? (with REST or using SP.RequestExecutor) Thank,Nk
0
votes
1answer
85 views

Wait for completion of SP.RequestExecutor [duplicate]

I am using SP.RequestExecutor to add attachments to a list item. I followed Can't upload a non-text file to SharePoint App via REST API I need to wait the completation of the asynch call of ...
1
vote
0answers
96 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, ...
3
votes
2answers
256 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 ...
2
votes
1answer
298 views

How can I add a Site Actions menu in a SharePoint 2013 full size app

Question: How can I just add a Site Actions Menu to the default chrome control rendered with the full sitze app? Problem: in a SharePoint hosted full size app there is no Site Actions menu. If ...
0
votes
2answers
210 views

JS/JQuery Connect to SQL Server

Right now i am modeling a ClientWebPart outside of the SharePoint server. Although, i advised the client to let me on the server to do Code Behind connection, they said not right now. Server might ...
1
vote
2answers
108 views

Sharepoint Multilingual App

I'm making an app with a custom list in multiple languages. Is there an easy way so that I only have to create the site columns, content type and list once? So I don't have to create them for each ...
0
votes
0answers
44 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 ...
3
votes
2answers
554 views

Add Users with Javascript after Client PeoplePicker is loaded

the following MSDN article describes how to use the Client PeoplePicker with Javascript: http://msdn.microsoft.com/de-de/library/office/jj713593(v=office.15).aspx I have an SharePoint hosted app ...
2
votes
1answer
38 views

Projectserver loading resources

The problem is that I can't get my resources out of the ProjectContext. I can get the project names but then something goes wrong and i get this warning: Error: The collection has not been ...
0
votes
2answers
635 views

How to deploy a custom JavaScript file to Style Library from SharePoint Apps?

I want to do some java-script operation on a custom list in SharePoint 2013 Online version. So I am creating a separate java-script file and deploying to Style Library manually. Does anybody know how ...
1
vote
1answer
167 views

How to use “SPTreeView” in sharepoint hosted app

I am developing SharePoint hosted app. In that I have to use SPTreeView to display root site content in the Tree view form. For the data source I have to use SPHierarchyDataSourceControl. But I don't ...
0
votes
2answers
1k views

Get Icon URL and filename of document library file using JSOM in office 365 app

I have an app that includes a Document Library...using my normal code to display the list but keep getting a null on the field...i've tried rptDocsListItem1.get_item("xd_ProgID") and ...
1
vote
1answer
191 views

Invalid field or parameter requestInfo.url. in SharePoint hosted app

I am working on SharePoint hosted app. I am facing an error in the beginning of the app i.e. "Invalid field or parameter requestInfo.url." This error is came from bellow code: function ...
0
votes
2answers
2k views

Retrieving List Items using REST services in NAPA app

I tried retrieving List items from the List(Marketplace) I created in the Hostweb using REST services in NAPA app , Set the permissions for Web, Site Collection, List to Full Control, Please helpe me ...
0
votes
0answers
83 views

How to Install App from sharepoint hosted app to sub sites

Here is my function, but it doesn't work: var context = new SP.ClientContext(appweburl); var factory = new SP.ProxyWebRequestExecutorFactory(appweburl); ...
1
vote
1answer
75 views

Double records on list.getItems using Javascript

Using fairly straight forward code to get back a country list for the user...but each time it loads I'm getting double items...i.e all the items are in the drop down twice...in fact time I trigger the ...
3
votes
0answers
113 views

Is it possible to retrive CRM online data from SharePoint Online using javascript? [closed]

So I would like to get data from Microsoft Dynamics CRM 2013 Online into my SharePoint Online SharePoint Hosted App. Is this possible to javascript only? Can I use the same Cross Origin Query ...
9
votes
1answer
2k views

(Solved) Start a Workflow of the Host-Web via SharePoint App and JSOM

The Last Update is the Solution I have got an App for SharePoint 2013, which needs to start a Workflow. This Workflow is in the HostWebContext, not in the AppContext. The List, the Workflow is ...
4
votes
1answer
166 views

Getting error while uploading multiple files in sharepoint hosted app in 2013 with REST API

In one of my tasks,i was struck with one issue,that is "While uploading multiple files into document library with REST API". Iam trying to upload multiple files in library with REST calls for an APP ...
0
votes
1answer
64 views

SharePoint hosted app, edit JS on the server

For me, one of the handy things about developing JS only apps is you can deploy the file to SP, get sneaky, open the js file from the file system and edit away, hitting save and refreshing the page. ...
0
votes
1answer
46 views

How to cache js/css/media assets from server in apps?

If you reference for example a JavaScript library from a CDN it will loaded from the browser's cache if it has already been downloaded. But SharePoint doesn't always run in a Internet facing ...
0
votes
1answer
39 views

Is it possible to add JavaScript to the host web from an app?

Is it possible from a SharePoint-hosted app to add some JavaScript hosted on an external CDN to every page in a site (host web) without having to use a custom master page? If not, is this something ...
0
votes
1answer
381 views

SharePoint Apps Getting the GUID of App-Provisioned List using JavaScript and CSOM

I'm a Sharepoint App beginner. I have a SharePoint 2013 App that provisions List. How can I get the GUID of those list using CSOM and JavaScript? Here's what I got so far: var lists; ...
0
votes
0answers
61 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(); ...
1
vote
1answer
238 views

A script on this page may be busy, or It may have stopped responding

there is one webpart on page that rotate the images so i added a jquery to rotate images and its working fine but after sometime it gives error like A script on this page may be busy, or It may have ...
2
votes
2answers
924 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
0answers
48 views

Method is not getting executed

I am developing SharePoint Hosted app. In that I have used one method: function getAllList() { try { appweburl = getQueryStringParameter("SPAppWebUrl"); appweburl = ...
0
votes
1answer
168 views

How to create number field unique list using javascript?

I am creating lists from javascript in my app. Now I want to create a Field in that with unique values which is a number field. I am using following code: var fldCollection = oList.get_fields(); ...
0
votes
2answers
921 views

Defer SP.RequestExecutor.executeAsync

I'm working on a SharePoint app where I need to run SP.RequestExecutor.executeAsync() in order to grab some information from one of the Host Web's lists. Depending on what method is calling the oData ...
1
vote
1answer
328 views

column not found when creating list item with Javascript

I am making a SharePoint app with javascript. I am trying to add a list item to a list I have defined in visual studio. I have done this just by adding a list in the solution explorer, and I made ...
0
votes
1answer
7k views

How to reterive list item values using CAML query?

I have one Date and time column and text colum. I need to retrieve list item value based on this both column using CAML query.. For ex: Columname---> Date value for date would be-6/1/2013 and ...
0
votes
1answer
353 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 ...
1
vote
1answer
654 views

Getting user email from a List Item column using Javascript

I am creating a Hosted app using NAPA on Sharepoint 2013 (Office365). I need to retrive a user from a list column and get the user's email. SP.List.getItems with a query returns a listEnumerator ...
1
vote
1answer
1k views

Default Sharepoint 2013 client-side people picker to current user

I'd like to be able to default the client side people picker for SharePoint 2013 to the current (or any) user. I've read the "How to" MSDN document here: ...
0
votes
1answer
291 views

Getting user's manager in Sharepoint (Javascript)

I'm having trouble with getting user's manager data in Sharepoint Javascript Model. I'm using context.get_web().get_siteUserInfoList(); through SiteUserInfoList. What I got back is a bunch of info ...
1
vote
1answer
2k views

ODataContentTypeException : Content Type 'application/json;odata=verbose'

I'm trying to create items in a SharePoint lists through the SharePoint REST API in Javascript (with an AJAX call using jQuery), all that in a SharePoint2013-hosted App. But I get this error when I ...
0
votes
2answers
310 views

SharePoint Hosted App - SP.WebRequestInfo

I wanted to invoke a Simple WCF Service that is hosted in my local using SP.WebRequestInfo class in my SharePoint Hosted app. I was able to get it working without an parameter but as soon as I add ...
0
votes
3answers
3k views

SharePoint-hosted app don't get my lists

I'm developing a SharePoint-hosted app for SharePoint 2013 (in Office365), but I've a problem accessing lists within a SharePoint-hosted app. My code is well printing the lists, but it only show me ...
0
votes
1answer
98 views

SharePoint App DOM Manipulation and Deployment

I've got some issues with development and deployment of a sharepoint app. The App is going to be an App Part in a SharePoint site. One issue is, that the app (provider hosted) is not high trusted, ...