0
votes
0answers
17 views

Error posting a REST request via cross domain library - Cannot handle Taxonomy Field Value

I have an app that updates a list item then starts a workflow on it. It was working fine, then stopped working the other day. It has started throwing an error regarding Taxonomy fields, but I am not ...
1
vote
0answers
19 views

Cannot update allowMembersEditMembership

I can't seem to update the setting on a group to allow members to edit members. This is my code: function setGroupsMembershipEditingMode(uri) { var context = new SP.ClientContext(appweburl); var ...
1
vote
1answer
21 views

How to write a WCF Service for SharePoint 2013 hosted App?

I've deployed a WCF Service in SharePoint. I am able to retrieve data from it using URL: http://nit-hv8-itr4:1111/_vti_bin/PresidentsService.svc/GetAllPresidents The problem occurs when I try to ...
0
votes
0answers
23 views

405 Method Not Allowed when creating new item in SharePoint list from remote site

I want to create a simple webpage with a form that can create new items in a SharePoint list. I want to make this as a remote site that just connects to sharepoint. Since I had a problem with REST ...
0
votes
2answers
29 views

Apps showing as subwebs

I'm listing the subwebs for users in an SharePoint app. The thing is that the app also is showing my sharepoint apps as subwebs, how come? Ex: Subweb #1 Subweb #2 App Code: var ...
1
vote
1answer
45 views

Uncaught Error: The property or field has not been initialized

I am trying to run the following code in a simple sharepoint app, but I got this error: Uncaught Error: The property or field has not been initialized. It has not been requested or the request has ...
1
vote
1answer
55 views

SharePoint 2013 Online Search Query for Site Collections

I wonder if It's possible to get all my site collection names or paths in Javascript, Visual Studios. I've found them through REST when I put server/_api/search/query?querytext='sharepoint' in the ...
1
vote
1answer
474 views

_spPageContextInfo is undefined in client web part

I have created a client web part for a SharePoint-hosted app that I am creating. The app makes use of the clienttemplates.js library in SharePoint to render user presence (Lync) in the web page. I am ...
1
vote
2answers
138 views

Access an item in a list in a subsite with Javascript(Solved)

function Testing() { var context = new SP.ClientContext('/Testing'); documents = context.get_web().get_lists().getByTitle("Site Assets").getItems(); context.load(documents); ...
0
votes
1answer
121 views

Implement multi select lookup using listbox control in aspx page

How can I implement the multi look up select list items functionality in SharePoint using asp.net C#? Please help me with some code, I am using two list boxes and have added a add remove button on ...
-1
votes
1answer
87 views

Add/delete list item using knockoutjs

I need knockout js code to add/delete a list item. Any ideas?
2
votes
1answer
119 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
623 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
42 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
1k 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
208 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
721 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
648 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
2answers
180 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
61 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
346 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
157 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
172 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
563 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
762 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
460 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
156 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
60 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
1k 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
51 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
1k 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
209 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
2k 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
287 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
4k 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
94 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
115 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
155 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
195 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
96 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
47 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
42 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
468 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; ...
1
vote
1answer
382 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
1k 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
180 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
1k 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
411 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 ...
1
vote
1answer
9k 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 ...