This tag is used for SharePoint 2013 apps development

learn more… | top users | synonyms (1)

18
votes
1answer
43k 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.
8
votes
2answers
5k 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
91 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 = ...
2
votes
2answers
213 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
3answers
5k 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 ...
2
votes
1answer
232 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
1answer
117 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
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 ...
9
votes
1answer
6k 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 ...
6
votes
2answers
6k 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
5
votes
3answers
5k 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 ...
3
votes
2answers
22k 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 ...
1
vote
2answers
3k 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
2answers
2k 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 ...
2
votes
1answer
435 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
4answers
2k 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
1k 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 ...
0
votes
1answer
247 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
3k 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 ...
11
votes
3answers
8k 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
884 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
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 ...
7
votes
2answers
403 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 ...
5
votes
1answer
318 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 ...
5
votes
2answers
8k 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
2answers
3k 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 ...
4
votes
3answers
6k 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
2answers
4k 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 ...
3
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 ...
2
votes
2answers
977 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
4answers
2k 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
4k 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
270 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
936 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
1answer
275 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 ...
2
votes
1answer
1k views

Read property bag from a sharepoint app

I want to create a sharepoint 2013 app with asp.net mvc http://blogs.msdn.com/b/bspann/archive/2013/01/19/asp-net-mvc-based-apps-for-sharepoint-2013-on-premises.aspx The thing is we want to rely on ...
2
votes
1answer
3k 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 ...
2
votes
2answers
7k views

Set a view of a list in XsltListViewWebPart when deploying from VS2012 to SP2013 App

I am devloping a SP2013 App which includes a page (aspx) that contains the following webpart and XsltListViewWebPart as shown below. I have managed to remove all the elements i want to remove ...
1
vote
1answer
187 views

enterprise wiki customization office 365

I need to customize the enterprise wiki so that each article can have comments against it. The Enterprise wiki is basically a publishing layout page .Can I add the blog web parts to the enterprise ...
1
vote
2answers
728 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 ...
1
vote
1answer
168 views

Sharepoint 2013 - Apps [closed]

Before you get too excited about Sharepoint 2013 Apps... They make it seem like a great new feature but NOWHERE is it posted that for every f-ing app in the Sharepoint store you have to request a ...
1
vote
1answer
560 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
1answer
284 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
1answer
4k 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
1answer
440 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 ...
0
votes
1answer
290 views

SharePoint Online Provider Hosted app Many to Many Relation lists

I working in SharePoint Online Provider Hosted app I have two lists having a many to many relationship My question is: What is best way to implement this? By lookup field or list?
0
votes
1answer
374 views

Error in SharePoint hosted app: Add permission level to the list programmatically

I am trying to add permission to the list which I have created in my app. I am trying to give current user some permission to add update delete items from my list. I have used one article from MSDN ...
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 ...
3
votes
3answers
258 views

Why does .get_title() called from an (SPOnline) App-Web return an incorrect Localized DisplayName?

!! this is NOT about localisation of the App Web Its about getting an incorrect response from the HostWeb when using get_title() !! Can someone please explain me where I go wrong with the testcode ...