Questions tagged [provider-hosted-app]
A SharePoint 2013 App that is not hosted in SharePoint, but rather by the developer of the app. This hosting is not necessarily done in SharePoint.
27
questions
10
votes
3answers
15k 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(...
15
votes
3answers
30k views
Getting 401/403 in High Trust App for Sharepoint 2013
I have this Cloudshare environment consisting on 3 machines:
One for Sharepoint 2013 (this is where I develop with VS2012 installed)
Another for SQL Server 2012
And another for Active Directory
I'm ...
3
votes
2answers
8k views
How to attach files to list item using Client Object Model?
I have a SharePoint List to which I am adding new ListItems using the Client Object Model.
Adding ListItems is not a problem and works great.
How to add Attachments?
3
votes
2answers
19k 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've ...
1
vote
1answer
2k views
SharePoint 2013 Provider-Hosted App “Azure Access Control Service is unavailable”
I am currently in the middle of Provider-Hosted App hell. I have developed several test apps for my QA environment following the dev center tutorials (Create: https://goo.gl/dDis9Q , Publish: https://...
1
vote
1answer
15k views
How To Get User Id Using Login Name in Share Point Provider Hosted App
We are using people picker (jQuery autocomplete) in a SharePoint Provider hosted app for binding the data of AD users.
We are using predefined web service Interface (...
4
votes
2answers
3k 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
1answer
2k views
Can you create a multitenant provider hosted app without using the office store?
Stackexchange says this is a subjective question but I don't think it is. I am just trying to discover feasibility here.
After a lot of reading online, I was able to successfully convert an app that ...
1
vote
1answer
2k views
editDocumentWithProgID2 in CSOM
I need to Open/Download Word or PowerPoint Document directly from Provider Hosted SharePoint App. We can perform easily in on-premise using editDocumentWithProgID2
Tried with getting CORE.js, SP.js ...
5
votes
2answers
1k views
Hide document library using CSOM
I want to prevent users from accessing some document libraries.
I have used the following code but it didn't work, Any solution?
doclibraryinstanse.Hidden = true;
doclibraryinstanse.Update();
...
2
votes
1answer
3k views
PropertyOrFieldNotInitializedException even if the field is loaded
I am using the below part of code in provider hosted app:
Microsoft.SharePoint.Client.File destinationFile = destinationFolder.Files.Add(fileCreationInfo);
ListItem ...
5
votes
2answers
973 views
SharePoint Add-in - Modify App Domain Name
I have come across situation where I need to change App domain name which we set in early steps of configuring environment for SharePoint add-in while creating isolated app domain.
I read somewhere (...
4
votes
2answers
5k views
Retrieving list Items programmatically from CAML via Client Side object Model when a Document Library has more than 5000 items
I have a SharePoint provider hosted app that stores documents with metadata in a Single Document Libraray programmatically via CSOM.
I have a requirement to display the list items in a MVC web app ...
4
votes
1answer
1k views
Enable External Sharing Programmatically
We have a scenario on which we are creating site collections from a provider-hosted app. Some of these site collections will be used by external users. Is there a way from CSOM (server-side) to enable ...
2
votes
1answer
1k views
SharePoint 2013 App domain/subdomain
I have a question regarding subdomain usage when configuring a SharePoint App domain. If I have a farm at spfarm.companyname.com, would it be safe to use an app domain of apps.companyname.com? This is ...
2
votes
1answer
2k views
How to generate App Registration data in SharePoint Online through PowerShell
Is it possible to register app through PowerShell on SharePoint Online(Office 365)? i.e the conventional way where registering app data(Client Id, Client Secret..) is done on AppRegNew.aspx page.
I ...
1
vote
2answers
810 views
Bad Request in provider hosted app
I am trying to use Office365 APIs in provider hosted app. I created a basic project and when I debug it, it runs perfectly in my local system. After that I hosted it in my Azure website (following ...
0
votes
1answer
781 views
How to brand my masterpage using provider hosted apps?
I'm working with SharePoint apps and I want to learn to modify the css of the masterpage. I cant find any good guides out there so can you guys help me out?
Im using a copy of the default masterpage ...
3
votes
3answers
2k views
Why does my SharePoint Add-in's Id change every time I build and debug it from Visual Studio?
In Visual Studio 2015 I have created a new solution based on the "SharePoint Add-in" template. As I have chosen to make it a provider-hosted add-in I have two projects created: sharepoint-addin and ...
3
votes
1answer
239 views
showing quick launch in a provider hosted app
So ive just started creating apps and have successfully created a simple provider hosted app. Is it possible to display the quick launch bar and use a the default master page?
3
votes
1answer
230 views
SP2013 - Failed to call, back to back executeQueryAsync() functions
This is exactly what I want to accomplish, given below are the steps I'm performing.
Update sub task status based on subTaskId (SP Task List), using executeQueryAsync()
Get all sub tasks based on ...
2
votes
3answers
969 views
Having problem using IIS 8 Self Signed Certificate for SharePoint 2013 High Trust Provider Hosted App
During development we were using the Self Signed Certificate from IIS 8 for developing/testing Provider Hosted App we are working on.
Now we need to make changes to the app for Packaging and ...
2
votes
3answers
1k views
Provider Hosted application often stops debugging
I have a very weird problem. I am trying to run a very basic provider hosted application on VS2013 (Update 3). The application stops debugging every now and then. The only thing I get in Output ...
2
votes
2answers
705 views
Provider Hosted APP with ADFS ā Created By Issue
I have created one provider hosted app and have done ADFS configuration for SSO to SharePoint Site to SharePoint APP Site.
But when I adding/updating list item created by user is āi:0i.t|00000003-...
1
vote
0answers
196 views
provider hosted App that is hosted in local IIS websites and linked to SharePoint Online?
How to develop a provider hosted App that is hosted in local IIS websites and linked to Office 365 / SharePoint Online?
can anybody provide me helpful links
Any help would be appreciated, Thanks
0
votes
1answer
6k views
Getting client context in provider hosted apps
I am new to developing provider hosted apps and going through some code snippets over the web to see how to get the context of the host web (or app web) to work on lists and libraries etc through the ...
0
votes
1answer
1k views
Filter out hidden folder using client object model in sharepoint 2013
I am adding list and library in treeview but it also displaying the "Forms", "Attachements", "Item" hidden folder in treeview.
Any one has any idea to hide that folder using client object model?
I'm ...