Questions tagged [sharepoint-addin]

This tag is used for SharePoint apps (also known as SharePoint Add-ins) development.

Filter by
Sorted by
Tagged with
2
votes
1answer
5k 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 ...
1
vote
0answers
150 views

Securing SharePoint Autohosted Apps

I am creating an autohosted SharePoint app. There are tons of really good articles out there that explains how to get started. Unfortunately, I haven't find any article/tutorial yet which explains ...
13
votes
3answers
6k 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 ...
0
votes
1answer
279 views

SharePoint App DOM Manipulation and Deployment

I've got some issues with development and deployment of a sharepoint app. The App is going to be an App Part in a SharePoint site. One issue is, that the app (provider hosted) is not high trusted, ...
1
vote
2answers
2k views

accessing the SP2013 Site Settings-->Master Page/Navigation settings etc using CSOM (client side object model)

I want to access the SP2013 Site Settings-->Master Page/Navigation settings etc using CSOM (client side object model) using JavaScript or REST service or Webservice which I can call from Javascript. ...
1
vote
1answer
892 views

current user is always is administrator on a SharePoint App

I have tried following solution to check the current user's permissions on the current host web in a SharePoint hosted app, however the user is always administrator. function sharePointReady() { ...
0
votes
1answer
1k views

can not make autohosted app work

I have created a simple autohosted app, I chose a Office 365 Team Site when I created it in VS 2012. However it generates The parameter 'token' cannot be a null or empty string when I choose ...
3
votes
1answer
398 views

How do I get the list of all apps installed in a SharePoint web application?

Is there a SharePoint API that would let me get a list of installed apps along with their hashes? I have some external web sites that are making REST calls to a SharePoint hosted app using cross ...
13
votes
2answers
4k 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 ...
2
votes
1answer
939 views

How to get current user in high-trust apps

I want to get current user in high-trust apps at sharepoint 2013 on-premises environment. But each returned user are the same, how can i get the correct current user? Here is my code: public ...
13
votes
4answers
10k 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 ...
3
votes
1answer
14k views

Add new item to list in JavaScript

I have the following code in my SharePoint 2013 app, I'm getting no errors but the item is not being added, anyone spot anything eyes are square from looking! function addListItem() { this.web = ctx....
4
votes
2answers
2k views

SharePoint 2013 Hosted App File Upload

Because of the nature of the new app model for SharePoint Hosted apps which gives us no access to server logic, how can you possibly setup File Uploading for older browsers like IE8 that don't ...
0
votes
1answer
351 views

Problems developing an App Part

I am developing an AppPart in Sharepoint 2013 and I am having problems when connecting to an external list. The following ways have been my attempts: Accesing a external list with an app using the ...
4
votes
1answer
4k views

"500: Internal Server Error" when trying to add a simple text file as an attachment via SharePoint 2013 REST API

Using SharePoint 2013 REST API, I am trying to attach a simple text file to a list's item. jQuery.ajax({ url: web.get_url() + "/_api/web/lists/GetByTitle('List1')/items(1)/AttachmentFiles/add(...
1
vote
1answer
1k views

Retrieve a list item based on People picker App

I have a list which contains an Employee column of a Type person or group. I have built a page which contains a people picker and nothing else. When the user selects a user from the PeoplePicker, i ...
5
votes
3answers
9k views

Fire JS function when people picker completes

Is there a way to trigger a JS function when a People picker completes and finds a user? I'm developing a SharePoint 2013 app using client side development pattern. Thanks for your suggestion Per, I ...
0
votes
1answer
323 views

deploy sample content in list from Visual studio includes people picker

I have the following default sample data in my list which deploay just fine. <Row> <Field Name="Holiday Balance (Days)">10</Field> <Field Name="Holiday Balance (...
2
votes
1answer
3k views

Creating calendar view from list programmatically using Elements Module in Sharepoint 2013 apps

The following code is displaying my list...the baseview selected is the Calendar view i want but its displaying as a list. How to let SP know this should be displayed as a Calendar? <View List="...
2
votes
2answers
13k 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 (...
3
votes
2answers
2k views

Apps for SharePoint Foundation 2013

I have two questions here. Can we develop apps for SharePoint Foundation 2013 edition? Can we purchase and download apps for SharePoint Foundation 2013 edition from SharePoint Store? Thanks.
0
votes
2answers
290 views

SharePoint 2013 app for non HNSC ready web application

If I have usual (non Hosting Named Site Collection ready web application) on SharePoint Server 2013 farm, is it possible to add SharePoint apps to such a web application? EDIT Thank you C. Marius 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 ...
1
vote
0answers
255 views

Unable to access the SP2013 App from IE but able to access from chrome

I've started working on SP2013 App development. When I'm deploying the app from VS2012, the App is successfully getting deployed. But after Trusting the app, it is showing "Internet cannot display the ...
0
votes
1answer
957 views

Can you have feature receivers and event receivers in sharepoint hosted apps?

I have heard you can't have server side code in sharepoint hosted apps. Does this mean you don't have access to feature and event receivers?
6
votes
2answers
14k 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 ...
-2
votes
3answers
2k views

Why not use Sharepoint 2013 as just a backend for REST / CSOM clients?

This might sound a bit extreme, but now that REST / CSOM API's are more fully featured, why not just write web apps in whatever framework you're comfortable with and utilize the REST / CSOM API's ...
2
votes
1answer
22k views

Sharepoint hosted app not working after publish

I created a simple hello world sharepoint hosted app based on the template in Visual Studio 2012. I added nothing. When I hit F5 it works but when I publish and add it to my App Catalog and try to add ...
4
votes
4answers
9k 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 ...
4
votes
1answer
683 views

Do App Parts have an equivalent to Web Part Connections in 2013?

I'm looking to write an App on SharePoint 2013, and I'd like to be able to connect App Parts in the same way you can currently connect Web Parts -- through the connections menu, and ConnectionProvider ...
37
votes
2answers
88k 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.
2
votes
1answer
1k views

Sharepoint 2013 Apps Authentication error

I develop a simple SharePoint Hosted App and deploy but when i open this app, there is popup for id and password. which id password i need to enter because they dont accept administrator id password
7
votes
2answers
15k 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
1answer
17k 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?
1
vote
1answer
3k views

How to get JSON data from a remote service in a SharePoint 2013 app?

I am working on an App for SharePoint 2013 that is SharePoint-hosted and I can't get data from a remote web service using a jQuery.ajax call. The only two ways to get remote data documented by ...
2
votes
2answers
195 views

SharePoint 2013 - Cloud Share App error

I am using "Cloud Share" SharePoint 2013 VM and just write a hello world , SharePoint 2013 - Auto Hosted App. While build the solution, I got the below error: Error 1 Error occurred in deployment ...
9
votes
2answers
3k 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?
1
vote
2answers
1k views

Apps: TokenHelper.GetContextTokenFromRequet returns null

I created a new Project for Sharepoint 2013 Apps in the Visual Studio 12. I choosed autohosted and added the link to my SP Web Home Site. I also added: <AppPermissionRequest Scope="http://...
6
votes
2answers
8k views

Invalid issuer or signature error in autohosted app - SharePoint 2013

I'm creating my first app for SharePoint 2013. I follow this MSDN article, that explains how to create autohosted app. This piece of code I took from the article and didn't change anything in it. ...
4
votes
4answers
5k views

Where is the SharePoint 2013 SDK?

I want to try out SharePoint 2013 with Visual Studio 2012. I'm trying to locate the SharePoint 2013 SDK. Google points me to older posts about Beta SDK releases. Visual Studio 2012 only has ...
11
votes
2answers
1k 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 ...
3
votes
3answers
613 views

Why is a Custom List referred to as an App in SharePoint 2013 Preview?

I don't understand why Microsoft calls Document Libraries and Custom Lists apps in SharePoint 2013 Preview - doesn't it contradicts the concept of isolation of an app from the parent site? It's my ...

1
44 45 46 47
48