This tag is used for SharePoint 2013 apps development

learn more… | top users | synonyms (2)

22
votes
1answer
58k 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.
22
votes
2answers
1k views

Client Web Part - XsltListViewWebPart

I'm trying to display a list view inside a client web part (for SharePoint hosted App). The below code will work inside an app page but does not render in a client web part. There are no errors ...
15
votes
4answers
15k 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 ...
12
votes
2answers
2k views

The remote event receiver callout failed

I've created an AppEventReceiver for my High Trust Remote app, when I deploy the app through Visual Studio 2012 I get the following error The remote event receiver callout failed The HTTP request is ...
11
votes
4answers
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 ...
11
votes
2answers
7k 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 ...
11
votes
8answers
10k views

Accessing another site collection from a SP2013 app

I have a SharePoint 2013 SharePoint Hosted app, and I've got some code that works swimmingly well when it's pointed to the host site collection. Part of the requirement is to have it point to a user ...
10
votes
2answers
8k 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 ...
10
votes
1answer
9k 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 ...
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 ...
10
votes
2answers
3k views

App in app catalog only available in specific sitecollection

I'm creating a provider hosted app for sharepoint which contains a number of client web parts. The app is for a specific department and it needs some custom configuration (columns, contenttypes etc) ...
10
votes
1answer
2k views

REST list item delete does not go to Recycle Bin

I have a SharePoint 2013 autohosted app with a number of lists inside of it. I would like to be able to soft delete a list item using the REST API and have it go to the Recycle Bin instead of being ...
10
votes
1answer
779 views

How to create a Sharepoint list that can be used by both an Access desktop application and an Access web app

A SharePoint list that can be edited by both MS Access desktop and MS Access web apps (Access 2013). I want a SharePoint list that works offline and then syncs when the network is working. Sorry, I ...
9
votes
5answers
843 views

Downloading Bulk of data(150 GB) using powershell or C#

I have a task to download bulk of data(150 GB) from SharePoint document libraries? What will be more efficient and faster,Doing it using a powershell script or using a c# code to download files?
9
votes
2answers
577 views

SharePoint Apps vs Features

SharePoint 2013 supports new kind of Solutions called Apps.According to MSDN, Apps are self contained piece of functionality and easy to install, use and update. I think SharePoint features also ...
8
votes
2answers
31k 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 -...
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 ...
8
votes
2answers
5k views

Create multiple items via REST API

I'm looking to bulk create items to decrease the amount of calls being made in my application. In this instance, I'm working on a calendar control that has different needs than what SharePoint OOTB ...
8
votes
1answer
2k views

How do I renew a Refresh token?

Let's say I have a provider-hosted app that's installed on a client's Office 365 site. A user clicks the app and they're redirected to our site. The redirects gives us (among other things) a Refresh ...
8
votes
1answer
549 views

on-premise sharepoint hosted app, anonymous access

I have been wrestling with a permissions issue for a SharePoint hosted app. I have gone through all the permission settings for anonymous access so I am 90% sure it is all correct. So, now I am ...
8
votes
2answers
547 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 ...
7
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 ...
7
votes
3answers
232 views

Isolated (per page) App Part communication

Many of you may know this blog post which explains how to communicate between app parts (from the same provider). Unfortunately the post only describes how to communicate between "all app parts of ...
7
votes
1answer
4k views

Cannot install app: “Sorry, only tenant administrators can add or give access to this app.”

For adding an app, that has Search query permission, to a site collection as site owner I get the following message: Well, Search works on tenant level, so to add the app to a site collection I ...
7
votes
1answer
390 views

How to properly logout from sharepoint online hosted app

I have SharePoint online hosted app with multiple pages, on the first page I am getting contextToken = TokenHelper.GetContextTokenFromRequest and use it for own needs (clientContext = TokenHelper....
6
votes
3answers
2k 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 https://sharepoindomain/...
6
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 initializePeoplePicker(...
6
votes
1answer
181 views

What is the pros and conts between JSOM and REST

I have a dilemma choosing between JSOM and REST what is better? what are the pros and conts of both? is different in performance? I have search but I cant find something usefull.
6
votes
1answer
64 views

Is context.executeQueryAsync a transactional operation?

I update multiple items in a loop and then call executeQueryAsync() on ClientContext class and this call returns error (failed callback is invoked). Can I be sure that not a single item was updated of ...
6
votes
2answers
9k 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
6
votes
2answers
2k 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?
6
votes
1answer
295 views

Custom ribbon button does not deploy using tenant scope app deployment

I am deploying custom ribbon button using SharePoint provider hosted app. It creates ribbon button without any issues when I deploy to the site manually (app scope). But it does not create a ribbon ...
6
votes
5answers
6k views

Redirect From one app page to another

I am creating a Provider hosted app. In that I have created two different .aspx pages. I want to redirect to the other page. But I am not able to find it out how to redirect. When I check my ...
6
votes
1answer
125 views

Install app using JSOM in SharePoint Online

We have requirement that SharePoint hosted app need to add/remove in site when site creation(Site has been created using JSOM). I did't find any article regarding add app programmatically using JSOM. ...
6
votes
2answers
106 views

Install sandbox package from app

I have sandbox solution for SharePoint Online (wsp package without dll) and I want install this package from app (for simplest installation). Is it possible?
6
votes
0answers
30 views

How to group custom app parts in a single group/category?

I have many app parts which i want to be under single group or category. So, when i will go in the "Edit mode" of the page, I will see my apps in a separate category. Please refer the below picture: ...
6
votes
0answers
118 views

Custom properties for app part

I am developing a provider hosted SharePoint app part. I have defined some custom properties for the app part. I am testing the app in a SharePoint online tenant. On a developer site when I edit the ...
5
votes
4answers
2k views

js library for REST and JSOM SharePoint basic tasks

I am just sick of writing again and again the same piece of code to use jsom Async requests, especially when it's for a SP-hosted app which envokes spexecutor. I am sure each developer has his own ...
5
votes
2answers
11k 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 ...
5
votes
2answers
585 views

How to check who created list view in SharePoint 2013

I wanted to check account who created list view in Sharepoint 2013
5
votes
2answers
4k views

How to get SPFieldChoice values using rest api SharePoint 2013?

I have a choice field in my list. I can get it values using server object model by following way List<string> fieldList; SPList spList = spWeb.Lists[listName]; SPFieldChoice field = (...
5
votes
4answers
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
1answer
13k views

How to Create Apps for SharePoint 2013 in Visual Studio 2012?

I have just started to use SharePoint 2013 and I want to create a simple app with VS2012. How can I create and deploy an apps in SharePoint 2013 step by step? Can anyone provide a quick start guide?
5
votes
2answers
317 views

JSLink - Client side rendering -How to render custom display name with ICON in the list view?

I have been playing with JSlink and CSR. I was able to modify headers in my table with this code: (function () { function preTaskFormRenderer(renderCtx) { modifyHeaderData(renderCtx); } ...
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 ...
5
votes
3answers
5k views

Sharepoint 2013 - Can I use Visual Studio 2012 express edition for web-parts and app parts?

I am new to SharePoint 2013. I want to develop the app and web parts using visual studio 2012 express edition. Can I use vs 2012 express edition to create app and web parts for SharePoint 2013? Can ...
5
votes
1answer
503 views

Logging in Apps, where, and what other options do I have

If I am using a provider hosted app with the code below, its not clear to me how can I monitor logs, provider hosted apps runs in this case in a separate iis site, correct? The System.Diagnostics ...
5
votes
1answer
8k 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: $....
5
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 ...
5
votes
1answer
58 views

Is there a Performance impact if there are 5000+ items with unique item level permissions in a SharePoint Add-in web document library?

Around the internet I have read that have unique permissions for items within a document library can affect performance. Is this still valid for SharePoint online? I am writing an add-in and want ...