This tag is used for SharePoint 2013 apps development

learn more… | top users | synonyms (2)

21
votes
1answer
55k views

How do I turn on SharePoint App store in SharePoint 2013

I am getting this message when I want to add a app: Sorry, apps are turned off. If you know who runs the server, tell them to enable apps.
9
votes
2answers
7k views

How to send email in SharePoint Hosted apps 2013 for SharePoint Foundation?

Did you know how can I send an email in my SharePoint Hosted apps? currently I am create a visual studio 2012 project for SharePoint 2013 foundation hosted apps with JavaScript code. I do not be able ...
2
votes
2answers
481 views

Open modal dialog from webpart in the parent page

I have written a SharePoint application which is embedded in a page as an AppPart. Now I want to open a modal dialog in the parent page. This code opens the dialog only in the current AppPart: ...
1
vote
3answers
250 views

Calculate the average value of an array from sharepoint listitem

So I'm getting my listItems with a Camlquery, but i want to calculate the avg of the "price" rows This is the code I've used so far: function VisaLista() { namn = ...
1
vote
1answer
1k views

How to join two lists using REST API sharepoint 2013

I have two lists with look up column. How do i join two lists using REST API call. Thanks in advance
10
votes
3answers
6k views

Can't upload a non-text file to SharePoint App via REST API

I am using the following REST code to add a file as an attachment to a SharePoint 2013 list item. <asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server"> <SharePoint:ScriptLink ...
5
votes
3answers
8k views

Get the ID and Name from multiple Client side People pickers to store in a list

I have a form which contains 3 client side people pickers, i use the following JS to produce the People Pickers // Render and initialize the client-side People Picker function ...
4
votes
2answers
6k views

Differences between hosting options for SharePoint apps

When we create a new app in Visual Studio, we are given the option to select an hosting model: What are the differences between the various models?
2
votes
1answer
1k views

Fetching items from sharepoint list and attaching in Fullcalendar with JSOM

I'm relatively new to sharepoint development. I want to load events from sharepoint list to fullcalendar month view. How can I achieve that with JSOM(not with REST api)? So far I can add to the list ...
1
vote
2answers
1k views

IBM DB2 database connect to Sharepoint

We have an IBM DB2 database which stores our documents as BLOBS in binary format. I've read about Remote Blob Storage(RBS) and FILESTREAM but I'm still puzzled if its possible to hook up our IBM DB2 ...
5
votes
3answers
2k views

SharePoint Web Part from App that is NOT in another domain or inside an iFrame?

We created SharePoint Hosted App that offers a Web Part we can add to SharePoint 2013 pages. The problem is that web part installs as an iframe pointing to the apps domain. Two challenges in ...
10
votes
1answer
8k views

App Part iFrame width to 100%

I sucessfully created an App Part using a provider-hosted high trust App. The app uses bootstrap and has dynamic content to fit page size. The problem is that, when i publish the App/Web Part, the ...
7
votes
2answers
30k views

Powershell command to find active features for site collection

Im trying to find active futures for my site from below script but im prompt with error ( cannot call a method on a null-valued expression) Appreciate your help $activeFeatures = Get-SPFeature ...
6
votes
2answers
8k views

Error occurred in deployment step Install App for SharePoint 2013

I got this error while trying to deploy an App in SharePoint 2013. The full error message is Error occurred in deployment step 'Install App for SharePoint': Failed to install App for SharePoint
3
votes
1answer
2k views

Programmatically add a web part to a page using CSOM

I want to create a SharePoint 2013 app that will add a web part (and an app part) to a page programmatically. I will be using SharePoint online. I cant seem to find any code that does this. Is this ...
2
votes
2answers
6k views

Sharepoint REST API - Using caml query and select/expand to get lookup data

I have a Sharepoint app and I use a caml query to filter the data I get back: var caml = "<View><Query><Where><And><Contains><FieldRef Name='PublishingPageLayout' ...
1
vote
1answer
85 views

REST GET using SharePoint hosted app

I've been testing an outgoing REST GET request (towards the other world, not towards SharePoint). When I'm using this code in pure JavaScript/HTML it works just fine. But when using it in my ...
1
vote
4answers
6k views

How to get permission of a sharepoint list for a user using REST api

I have a requirement where i need to check the access permission of a user against a List or Library only using REST api from my remote salesforce app. Say for example, I have to send the list name ...
1
vote
2answers
6k views

ReferenceError: SP is not defined error in Provider Hosted App

I've created Provider Hosted app. I'm using client object model in my app. When I try to call this code I get ReferenceError: SP is not defined var context = SP.ClientContext.get_current(); ...
0
votes
1answer
42 views

Function in an app that gives alert message when somenone updates list?

I have build an app to get list items etc. Now I want to put a function in it that gives alert message when someone adds,removes or changes something in list. Is it possible?
0
votes
2answers
3k 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 ...
3
votes
2answers
195 views

Get Likedby column value from List Rating Setting

I have created a custom list and activated rating setting. I want to count the number of likes and likedby. But when I modify the list view I found Likedby is disable but checked and likedby is not ...
2
votes
2answers
2k views

Sharepoint Search REST API - 401 unauthorized Error (Need Help)

I am getting 401 unauthorized error when calling a sharepoint search rest api (http://:/_api/search/query?querytext=) from a .net application using claims based authentication. My request and error ...
2
votes
1answer
740 views

Provider hosted app still points to localhost

I have a problem with a provider hosted app I have developed. In a test environment, the app ran on localhost. Then I changed the startpage in AppManifest.xml from ...
1
vote
1answer
471 views

How to add a custom app to a SharePoint Online site programmatically

I have created and packaged a custom application. The app has been uploaded to App catalog. I can add it manually to a SharePoint Online site and it functions without an issue. Is there a way to add ...
1
vote
1answer
356 views

Move pdf files from one library to folder within library in sharepoint 2013

I want to move files from the Library into its folder (Which is in the same library). How can I do this using sharepiont Designer 2013
0
votes
2answers
48 views

Error occurred in deployment step. Cannot connect to the SharePoint site:

While creating a new App For Sharepoint, in Sharepoint Site URL Validation Form. When we click the Validate Button the following error is shown: Cannot connect to the SharePoint ...
0
votes
1answer
1k views

Office 365 - How to refer and apply custom master page in sharepoint hosted app?

I have a custom master page. I want this master page to be applied for an app(sharepoint hosted). The app contains an aspx page. By default, the aspx inherits the master page as below: <%@ Page ...
0
votes
2answers
4k 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 ...
0
votes
2answers
3k views

Can't deploy Sharepoint 2013 app

I'm trying to deploy my first sharepoint 2013 via Visual Studio. I generated an isolated app domain. When deploying the app i get an error in Visual Studio. ErrorDetail: The remote hosting service ...
15
votes
4answers
14k views

REST POST: How to add a list item with 'people and group', 'choice,' and 'URL' fields?

I am trying to create a form for a SharePoint Hosted app that will allow users to request a teamsite. The form writes to a list that is contained in the SharePoint site collection, from which a timer ...
4
votes
2answers
2k views

How to add Client Web Part to .aspx page programmatically in SharePoint provider hosted app?

I have requirement to add Client Web Part to .aspx page programmatically in SharePoint provider hosted app, I have tried this link, but this is for SharePoint hosted app, below code is not working for ...
8
votes
3answers
5k views

SharePoint 2013 Call the REST API from SharePoint hosted app

I've successfully deployed a SharePoint Hosted App to Office 365 and my local on premise installation. All the app aims to do is call the REST API for the user profile manager to get the profile ...
4
votes
2answers
5k views

ShowModalDialog from Sharepoint hosted app not working

I'm having the same issue like in multiple other discussions: Chrome: Cannot read property 'defaultDialogWidth' of undefined Firefox: SP.Res is undefined ...
4
votes
3answers
18k views

“The server was unable to save the form at this time. Please try again”, when adding new announcement [closed]

I have a team site inside my SharePoint 2013. then i have added an Announcement app to the site, but then i try to add a new announcement i am getting the following error :- The server was unable to ...
2
votes
3answers
1k views

How do I create a Sharepoint hosted app for office 365 in Visual Studio 2013?

I've setup Visual Studio 2013 RC and a Office 365 developer site. I can create an app using Nappa and open it in VS from there. But if I create a Sharepoint hosted app project in VS and point it to ...
8
votes
2answers
532 views

SharePoint App VS Object Model

For designing solutions I am confused with whole Apps concept in 2013. What is Microsoft's guidance for when to use a SharePoint app and when to go for a traditional client or server object model ...
6
votes
4answers
10k views

How to create lookup columns in SharePoint Lists within SharePoint Apps?

How can I insert look up column value to a SharePoint list. I created a SharePoint hosted app and created two SharePoint lists in it: list1 and list2. Now I need to create a lookup column in list2 ...
5
votes
3answers
4k views

“Add an App” on publishing site is eternally “loading”

I have successfully added a provider hosted app to the app catalog. However, when I go to the main site, then go to the "gear" icon, and select "Add an app", it gets stuck at "Loading" forever. If I ...
5
votes
2answers
10k views

Is there a difference between a Sharepoint Hosted App and a Cloud Hosted App?

Other than the initial setup steps is there a difference between a Sharepoint Hosted App and a Cloud Hosted App? Can you do anything in one and not the other? If you create one type of app could it ...
4
votes
1answer
528 views

Add item to SharePoint Online Library - strange Access Denied exception

I have created a very simple SharePoint Online App. It has a manifest and a website. There is a simple script on a Default aspx. It is trying to deploy the file to a Library and getting "Access ...
4
votes
1answer
3k views

sharepoint 2013 app create list in host web

Right now I have a SharePoint-hosted app and and list in it, so right now the app and list are deployed in the Web host, how can I make so my list are deployed in the Host web? UPDATE Failed to ...
4
votes
3answers
7k views

Can SharePoint 2013 apps run in SharePoint Foundation 2013?

I apologize in advance if this is a silly question, but I'm new to SharePoint, don't fully understand the concept of SharePoint apps and was asked to investigate this. I've been told that SharePoint ...
3
votes
1answer
5k 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 ...
2
votes
1answer
9k views

Set list item permissions in Workflow 2013

I've created a workflow inside an "App for SharePoint 2013" project. I need to set special permissions to the curent list item inside this workflow. I read this ...
2
votes
1answer
4k views

Using SharePoint 2013 TokenHelper class when there is no HttpContext.Current

SharePoint 2013 Apps in Visual Studio have a TokenHelper class that simplifies using OAuth to connect to a SharePoint 2013 ClientContext. I am using this class to remotely connect to a SharePoint ...
10
votes
4answers
3k views

Where and how are sharepoint list stored in sharepoint apps

Sharepoint Apps, can be installed in multiple site collections. According to everything I have read about apps, sharepoint apps are isolated from the sharepoint environment and I can completely ...
4
votes
2answers
389 views

Is AJAX Built-in in SharePoint-Online ( SharePoint-Hosted Apps )?

As the title says, can I create a SharePoint-Hosted App and make Ajax calls right away? or do I have to import an ajax library or something like that?
4
votes
1answer
2k views

Host Web Apps vs App Web Apps

I am little bit confused here and looking for some advise. What I know: When we install SharePoint hosted app it will be installed in your host web as a sub-site within a site collection which is ...
2
votes
1answer
253 views

Configure custom forms for New and Edit using CSOM

I want to replace the New and Edit forms for a specific list. I have a SharePoint Add-in which has two forms (one for New and one for Edit) and now I want to make sure that when a user click New or ...