This tag is used for SharePoint 2013 apps development

learn more… | top users | synonyms (2)

21
votes
1answer
57k 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
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 ...
1
vote
3answers
263 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 = document.getElementById("...
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 initializePeoplePicker(...
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 ...
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 ...
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 ...
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 ...
8
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
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
4
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
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 ...
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
246 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 ...
1
vote
1answer
368 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
1
vote
1answer
505 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 ...
0
votes
2answers
51 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 site:'http://...
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 ...
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 ...
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 http://sharepoint.stackexchange.com/posts/...
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
542 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
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 ...
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
10k 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 http://social.technet.microsoft.com/...
3
votes
1answer
6k 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
2answers
501 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: ...
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
416 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?
2
votes
1answer
473 views

SP.WebRequestInfo 403 The Size of reponse from the remote endpoint exceeds

I'm putting together a test app on O365, it calls data from the UK police, cos its interesting. I am using the SP.WebRequestInfo The Code is correct, I make other calls to the same service fine, but ...
2
votes
1answer
1k views

Visual Studio 2013 - Workflow debugging prerequisites failed to complete

I am experiencing an issue with debugging SharePoint 2013 Workflows in a SharePoint App solution: Has anyone encountered this error?
2
votes
3answers
1k views

2013: How can I use a form in my AngularJS code in the Default.aspx page?

In a SharePoint Hosted app, the Default.aspx page is "wrapped" in the webform of id="aspnetForm". In my AngularJS app that lives on that page, every time I put a form tag into my Angular code, SP2013 ...
2
votes
1answer
299 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 ...
2
votes
2answers
999 views

Apply theme to subsite from SharePoint hosted app + javascript

I have to make a SharePoint-hosted-app for creating subsites and applying a theme on created subsites programmatically. my app is installed on root site (site collection) and I want to change ...
2
votes
1answer
329 views

Safari web browser will NOT perform Asynchronous Automatic Refresh. Rather it will do a full page reload

I have added an announcement web App, to SP2013 my team site, and for the App part Ajax option I enabled the following:- Enable Asynchronous Update Show Manual Refresh Button Enable Asynchronous ...
1
vote
1answer
772 views

How to change the Top Bar tab titles

I have a requirement to change the Top bar titles for my team site and community site. For example I need to change the “Page” to be “Page options”.so from where I can change these titles.? Second ...
1
vote
3answers
286 views

Simple way to implement cascading drop down?

I am very new in SharePoint development. when I am doing a task, I got a problem in cascading drop down, so i need to select a value from one drop down depends on another one. i really don't know to ...
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(); I'...
1
vote
1answer
373 views

401: Unauthorized error when trying to generate ClientID and Secret for App

I am trying to generate the AppID and AppSecret for my App. I am trying to generate for my on premise environment just to check if my app is working or not. It is working on Office-365 site. But I ...
1
vote
2answers
6k views

Getting an ItemCount with filtering in SP2013 using REST api

I am attempting to return an integer (itemcount) of the items within a SP2013 list. I have done this easily using the stock standard json method. However I have a need of counting the splist items ...