Questions tagged [sharepoint-addin]

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

929 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
11
votes
2answers
1k views

How to properly logout from sharepoint online hosted app

I have SharePoint online hosted app with multiple pages, on the first page I am getting contextToken = TokenHelper.GetContextTokenFromRequest and use it for own needs (clientContext = TokenHelper....
8
votes
0answers
422 views

Design Package import SharePoint 2013 using App Installed event CSOM

In SP2013, I am trying to import and export the design package from one site to other site using AppInstalled event using CSOM. I am not able to get the context of source site to import the design ...
7
votes
3answers
9k views

Cannot install app: "Sorry, only tenant administrators can add or give access to this app."

For adding an app, that has Search query permission, to a site collection as site owner I get the following message: Well, Search works on tenant level, so to add the app to a site collection I need ...
7
votes
0answers
544 views

SharePoint 2013 Auto-hosted App intermittent error -- "There was a problem registering the app principal"

I am trying to handle the App events and I am getting one weird intermittent error related to app principal. When I try to deploy the Auto-Hosted App from visual studio, Sometime I am getting the ...
6
votes
0answers
392 views

How to set HTML field security using CSOM

Is there a way to set the HTML field security using CSOM? I already found a way to use PowerShell Scripts but i wondering if there is also a way to use CSOM. PowerShell: $web.ScriptSafeDomains.Add("...
6
votes
1answer
2k views

SharePoint App - Custom ribbon button enable/disable

I am deploying custom ribbon button using SharePoint provider hosted app. I was able to show button where I wanted but not able to control enable or disable state of the button. It remains active ...
6
votes
6answers
3k views

Hiding apps from users

I have a question about adding SharePoint apps: Is it possible to hide an installed/added app (in a site collection) from users with specific permissions or from a user group? Thank you
5
votes
0answers
240 views

Office ui fabric react not working with SharePoint hosted app!

I have created SharePoint hosted app using VS2015, and in that i have used Office ui fabric react components. I have installed it and other packages of React and React-dom using npm, App is ...
5
votes
0answers
168 views

add a jslink in item add form using Schema.xml

How to add a jslink in Calendar list new item add form using Schema.xml I'm Try this code: <Form Type="NewForm" Url="NewForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" UseLegacyForm="...
5
votes
1answer
132 views

SharePoint add-ins and Office Store

If i publish one of my SharePoint add-ins in Office Store, would it be possible for me to control who can download the add-in? I mean to target the the add-in to specific tenants somehow. I know some ...
5
votes
1answer
2k views

CSOM site provisioning error: The request uses too many resources

I continue to get an error (sometimes) when provisioning a web using CSOM. According to this MSDN article, this error is returned when the CSOM request exceeds 2MB. I watched the call in Fiddler and ...
4
votes
0answers
457 views

How to set schedule in SharePoint Calendar excluding weekends?

I created a Leave/Paid Time Off Calendar Tracker. I want to exclude the weekends in setting up a schedule without removing it from the calendar. I use Start Date and End Date function when setting up ...
4
votes
0answers
500 views

How to achieve kudos app in sharepoint on premise

I want to create a kudos app like this : https://blogs.msdn.microsoft.com/officeapps/2013/10/31/building-a-cloud-business-app-kudos/#comment-17695 I have on premise SharePoint 2013 server. people who ...
4
votes
0answers
204 views

Get current page URL and Title from a 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 ...
4
votes
0answers
200 views

Add Dropdown list in App Part Properties

I have created sharepoint hosted app. I like to add dropdown list in app part properties which fetch data from list and bind it in dropdown. I've tried with static dropdown using enum but I want to ...
4
votes
0answers
361 views

Implementing SSO in sharepoint 2013 with SAP

I am looking for a solution that will connect SAP from SharePoint. What is best way to create SSO in SharePoint 2013 to SAP. I am completely unaware of this type of requirement. Any one could explain ...
4
votes
1answer
2k 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 http://localhost/MyAppWeb/Pages/...
4
votes
1answer
123 views

Apps not available for user pages

our company just started using sharepoint 2013 (in office 365). We are trying to get an app to show up in the user personal pages. In this case it is about the app 'promoted links'. When we login ...
4
votes
2answers
847 views

Strange behavior appears when using Updatepanel on web part in Sharepoint 2013

Strange behavior appears when using Update-panel on web part in Share-point 2013. Everything works fine but after several(2-3 minutes), any action in page cause Full page load. In FF and Chrome post-...
4
votes
2answers
978 views

SharePoint App Permissions - What info do they get?

We are just starting to use SharePoint via 365. We found an app that we like, that asks for the following permissions: Let it access basic information about this site. Let it access basic ...
3
votes
0answers
265 views

ng-quill with SharePoint AddIn not working

I am trying to use ng-quill with SharePoint AddIn but it's giving me errors, SCRIPT5022: [Parchment] Invalid definition quill.js (244,9) SCRIPT256: This command is not supported. quill.js (7451,3)...
3
votes
1answer
40 views

Date field in SharePoint Add-In displays the day before in debugger? Strange issue

I have two date fields. Start and End Date . If i choose 10/25/2017 , when i debug it shows the value 24/10/2017 . After some debugging , when item is being saved i can see the correct values. Once ...
3
votes
1answer
2k views

Why can't I remove this Add-In?

I've been deploying a SharePoint Add-In from Visual Studio 2015 to our O365 developer site. For the past few days though, it has shown this deployment error: "Skipping the uninstall step because ...
3
votes
0answers
64 views

Interact with SharePoint Web Part Programmatically from JavaScript

My colleague is attempting to write a SharePoint add-in that interacts with a web part in SharePoint. Specifically the project schedule add-in. We have all of the basic business logic implemented, ...
3
votes
0answers
233 views

SharePoint on-premise app catalog configuration

I have been tasked with recreating our existing SharePoint on-premise instance. Everything has gone well apart from a confusion I have with how the app catalog has been setup on our existing instance ...
3
votes
0answers
38 views

~sitecollection token in AppPart SRC attribute

I have been testing ability to use various tokens in SRC attribute for app parts in SharePoint 2013. I try to investigate if it's possible to have an apppart that points to a page that is outside app ...
3
votes
0answers
28 views

Resource Not Found error while creating a custom master page for Sharepoint Hosted App

Resource Not Found (Master Page is not found) error is shown when a custom master page is created for SharePoint Hosted App according to steps given in given link: Master Page for Sharepoint Hosted ...
3
votes
1answer
49 views

SharePoint add-ins updates

I have a SharePoint hosted add-in, whenever I try to update any of the below items, it doesn't reflect except if I redoply the add-in. which will results in data loss. List of changes: Adding data to ...
3
votes
1answer
71 views

Process memory usage is rising to 1.8GB - Is there a more efficient way to write?

I am reading the content of a file and writing it to a SharePoint external List(SQL). There is around 35000 lines in the file. I am receiving the error below in SharePoint and process memory usage is ...
3
votes
1answer
475 views

SharePoint Remote Event Receiver not working

Platform: Sharepoint on-premise Requirement: To connect Remote Event Receiver to an existing list in the Host Web Problem: Error in deploying Remote Event Receiver Details: Created a new Provider ...
3
votes
0answers
1k views

how to implement the lastest angular 2 version with sharepoint hosted add-ins

Hi I'm trying to implement angular 2 within a sharepoint hosted app, I followed the scot hillier's article Build a SharePoint Add-In with Angular2 and TypeScript but it's a little old and I'm having ...
3
votes
0answers
137 views

How to create custom action using SharePoint hosted app

Is it possible to create "custom action" under the "Site Action" menu in "HOST WEB" using SharePoint Hosted App.? We do not want to follow the native method of packaging all the necessary files ...
3
votes
0answers
137 views

Is there a unique ID for add-in instance?

I'm developing a SharePoint add-in with provider hosted app. One requirement is to uniquely identify add-in instances. The user can install add-in multiple times. Provider hosted app stores mapping ...
3
votes
1answer
284 views

Access host web data from a SharePoint add-in

I am writing a SharePoint add-in to add list items to a host web list. I use an AppContextSite object to fetch the list and add an item to it. I then try to do an appSiteContext.load(listItem) call ...
3
votes
0answers
535 views

SharePoint 2013 - Add-in - JSOM - Create SharePoint Group

I am trying to create a SharePoint Group in a SharePoint Add-in, which has Full Control over the site collection, using JSOM. Here is my code: function createGroup(groupName) { var ...
3
votes
1answer
1k views

SharePoint 2013 App Store Issue

I am facing difficulty in configuring APP Store in SharePoint 2013. Sorry, we can’t seem to connect to the SharePoint Store”. Try again in a bit. In log there are different errors coming. ...
3
votes
0answers
94 views

SharePoint Add-In Without "Basic Information about the users of this site" Permission

I am developing a SharePoint Add-In to be published into the Office365, When I install the Add-In into my Office365 account, it shows that my Add-In is asking for the following permission: "Let it ...
3
votes
0answers
2k views

REST api 500 (Internal Server Error) error for following a site

Im currently using this code to follow a site : var executor = new SP.RequestExecutor(shptService.appWebUrl); var siteUrl = "https://domain.com/site1"; executor.executeAsync({...
3
votes
0answers
43 views

What is a recommended way by Microsoft to achieve column audience targeting both in views and edit form section in sharepoint 2013?

I am new to sharepoint 2013 and exploring compatibility of its features with our requirement. in effort of making complaint management system using sharepoint 2013. I made form as Name ...
3
votes
0answers
361 views

SharePoint Add-in (App) still works after modifying the client id and secret in provider hosted app?

I've been working on a Sharepoint Add-in that is provider-hosted. I registered the add-in via AppRegNew.apsx. Then I updated the AppManifest.xml in the add-in project and the web.config in the ...
3
votes
1answer
907 views

Low-Trust Provider Hosted App Unauthorized for FBA users

I configured my on-premise SharePoint environment for Low-Trust provider hosted apps as per below article "https://msdn.microsoft.com/en-us/library/dn155905.aspx" My SharePoint web application ...
3
votes
0answers
136 views

Backwards comparability of SharePoint Online (version 16) DLL's

I currently have a provider hosted app that has been built around the SharePoint Online platform and therefore uses version 16 DLL's for SharePoint. I have a need to deploy this app to a SharePoint ...
3
votes
1answer
685 views

Audit Documents in SharePoint Online

One of our Customer wants to audit opening and downloading of documents on Sharepoint Online.I know this is not available OOB. Is there any third party tools that we can use? Or is there any way to ...
3
votes
0answers
441 views

Elements.xml and external files

I have a SharePoint app with a Module added. The Elements.xml has the following line: <File Path="AppAssets\Icon.png" Url="SPAssets/Icon.png"> I know that the Path is the local path and the ...
3
votes
1answer
65 views

Getting back-end data and displaying it in the client

My SP Admin level is strong. My SP dev level is beginner. I know some JavaScript. What is the best method of bringing Server and Farm information from the back-end to the client-side? For example, ...
3
votes
1answer
401 views

No Apps Currently available, office for apps using Azure Web Site and office 365

I am trying to deploy and use an app for office. I created a simple Apps for Office project in Visual Studio 2013 and I deployed the web project to an Azure Web Site. I changed the SourceLocation of ...
3
votes
0answers
1k views

Install app for SharePoint using PowerShell - permissions on user profiles

I'm trying to install our app using the PowerShell and after running the application I get an error while accessing the user profile data. We are using the following permissions in our app: ...
3
votes
1answer
304 views

Publishing a provider hosted app: StartPage element

I have created a provider hosted app which is primarily used for testing several aspects of a SharePoint environment. The app will be installed in different customer environments, so on different ...
3
votes
0answers
770 views

How to display the User profile picture at remote web site in provider hosted app

Our application is a SharePoint provider hosted app and we would like to display the user profile picture at our remote web site. We are able to get the user profile URL which requires the read access ...
3
votes
0answers
90 views

2013 grant read access to authenticated users without having to visit site

I have created an app which uses a people picker. The people picker needs to pickup everyone within the NT AUTHORITY\authenticated users group. So I have added that group to the Members group of the ...

1
2 3 4 5
19