Questions containing this tag should include some basic information about the given SP installation: SP Online, SP Foundation, SP Server and the version year (Sharepoint Server 2016 for example). There also has to be an explanation about where it's hosted (sharepoint-hosted or provider-hosted).
Questions tagged [sharepoint-apps]
190 questions
1
vote
1 answer
Get list item version history in SharePoint 2016 provider hosted app
I have a provider hosted app and i want to retrieve the list item version history with all the columns of an item in my provider hosted app using CSOM.
I tried using CAML Query but i am not able to achieve the required functionality.
Any pointer…

Kalpesh
- 149
- 1
- 2
- 13
1
vote
5 answers
access Sharepoint document library items from provider-hosted app
So I'm trying to access files from a Sharepoint document library in C#. My app is a provider-hosted Sharepoint app. I seem to be able to access the library, but not the library's items.
Here is how I get my context in the controller:
var spContext =…

themaksmw
- 25
- 6
1
vote
0 answers
Get current page URL and Title from a SharePoint Provider Hosted add-in Part?
I'm looking to see if there is a way to grab the current URL and title of the page that the add-in part is residing on. The add-in part is a Provider Hosted add-in with the main piece living outside of SharePoint. I am using JSOM at the moment to…

Marion O
- 11
- 3
1
vote
1 answer
Can I deploy a SharePoint Add-In with User Profiles (Social) | Read to the SharePoint AppStore?
I'd like to be able to programmatically retrieve a user's name and manager using code similar to the following:
using (var clientContext = TokenHelper.GetClientContextWithAccessToken(hostWeb.ToString(), accessToken))
{
var…

Ryan Shripat
- 5,574
- 6
- 49
- 77
1
vote
1 answer
How to provision Branding files using SharePoint Hosted App in SharePoint Online/Office 365?
I am looking for SharePoint Hosted App Solution which will provision Branding files (JS/CSS/Images) into SharePoint Online/Office 365 environment.
I got a very good article to achive this and tried to implement the same as shown in below link:…

Hemant Kabra
- 870
- 9
- 29
1
vote
1 answer
SharePoint provider-hosted app - get link to remote web
I'm currently evaluating development approaches for provider-hosted apps for SharePoint Online.
I already found the Office PnP samples, which are a quite good start.
But there is one question I could not find a solution so far.
I want to place a…

Florian
- 11
- 3
1
vote
1 answer
How to set Sharepoint Apps query string tokens from javascript
I have the following asp.net mvc sharepoint app controller
public ActionResult Index(string city)
{
var spContext = SharePointContextProvider.Current.GetSharePointContext(HttpContext);
List lsProgramate…

David Cordoba
- 61
- 1
- 3
1
vote
1 answer
Sharepoint Client Object Model: Usage of Load / Update / Delete methods
Can someone explain the differences or the reasons why there're the two methods ClientContext.Load and e.g. for ListItems ListItem.RefreshLoad()? Is there a difference?
Why has the ClientContext no equivalent .Update or Delete methods?
And when do I…

D. Müller
- 3,336
- 4
- 36
- 84
1
vote
1 answer
Sharepoint document library: save a generated pdf
Is there a way to save directly a pdf generated with the jspdf library, to a document library in sharepoint online?
I need a solution in javascript, C# is not an option in my case. It's a sharepoint hosted add-in that I'm developing.

Rahma
- 255
- 3
- 21
1
vote
1 answer
Sharepoint Online: List & Features
I'm building a SP provider hosted app in Visual Studio. I just saw, that for each list I add to the project a new "Feature" is added, too. Can someone explain what the tasks of a feature are and how it is associated with the lists? Thank you!

D. Müller
- 3,336
- 4
- 36
- 84
1
vote
1 answer
Sharepoint Online: Create & use List in Provider Hosted App (C#)
I'm new to SharePoint programming and have the following problem:
I added a List to my Visual Studio SP project (SampleAddInList). Now I want to get the list in my program to fill in an example item.
Here is the Screenshot of my Visual Studio…

D. Müller
- 3,336
- 4
- 36
- 84
1
vote
0 answers
2 Sharepoint lists showing same columns
I have a problem regarding my Sharepoint online application.
It's a provided hosted app which i'm debugging on my own computer.
I have 2 different lists which i deploy with the app when i install it.
One list called ReminderList and one list called…

Simon Lundh
- 11
- 2
1
vote
0 answers
Communication betwen sharepoint apps on different pages
I'm developing two sharepoint hosted apps. App A shows a list of employees of the month(name, picture, etc) App B shows the detailed information for a certain employee of the month
What i'm trying to achieve is to redirect the user form the page…

StyleSlash
- 11
- 1
1
vote
1 answer
Sharepoint hosted app localize to list columns
I created a SharePoint hosted app and a new list. But I want to show its list column display name by a resources file. For that I created a new resource
from rigth click Feature > Add Feature Resource then the created key is PersonName and the…

acebisli
- 106
- 2
- 9
1
vote
1 answer
Is it possible to create Sharepoint online APP which will provide new REST API End Points
We are working on sharepoint online integration with PHP Based application. We need to provide REST API call which supports JSONP. So is it possible to create new REST API Endpoints in Sharepoint online APP? Please sugggest right direction.

praju
- 56
- 3