Questions tagged [sharepoint-addin]
This tag is used for SharePoint apps (also known as SharePoint Add-ins) development.
2,389
questions
0
votes
0
answers
7
views
SPO | Check existing scope and permissions of SharePoint add-ins/Apps
In SPO, i have registered few add-ins/Apps that are visible in /_layouts/appprincipals.aspx page.
I have already updated the permissions and the scope for these add-ins/apps but I am not able to find ...
0
votes
0
answers
21
views
Sharepoint 2019 onPostRender is not fired when accessing Site or SubSite
In Sharepoint 2013 I registered a function to onPostRender event and it worked properly both when accessing Site or SubSite and when accessing Document Library.
In Sharepoint 2019 Something get wrong, ...
0
votes
1
answer
62
views
Connect to SharePoint app/addin from third party web application/server
I need to get files that are in a SharePoint site to a third party server. In the request by custom server, all file paths given. I need to set up an endpoint to get that request and send requested ...
0
votes
0
answers
486
views
Sharepoint Rest API File Upload by Postman
I was trying to upload xlsx file by Postman to my sharepoint but getting access denied issue. Not able to figure out what is wrong here.
Tried to provide FullControl permission via appinv.aspx ...
0
votes
0
answers
36
views
WSP Solution Deployment issue on SharePoint 2013
I'm facing issue with .wsp file deployment in farm one of the server deployment was not deployed, while checking the instance of timer service on server disabled, after tried to ran below script, but ...
1
vote
1
answer
30
views
SharePoint Online是否可針對網站設定DisableCustomAppAuthentication 值
SharePoint Online是否可針對網站設定DisableCustomAppAuthentication 值,
例如:
Set-SPOSite -Identity https://xxxxxx.sharepoint.com/sites/xxxx -DisableCustomAppAuthentication $false
還是只能針對整個Tenant ,Set-SPOTenant -...
1
vote
0
answers
72
views
How to access SharePoint provider-hosted add-in via postman
I have created a provider-hosted add-in on SharePoint 2019 on prem. I want to access my provider hosted add-in data from postman.
I have successfully setup postman to authenticate in SharePoint, as ...
0
votes
1
answer
18
views
How to brand SharePoint addins
I'm building some SharePoint add-ins.
Some are SFPx web parts, others are SharePoint hosted add-ins.
How to customize icons and pictures for these applications ?
I'm looking for :
change the icon in ...
0
votes
2
answers
2k
views
How to allow application to have write access to a specific SharePoint folder?
I want to upload a file into a folder in the SharePoint document library using PowerShell.
For this, I am using the following link to setup the app: /_layouts/15/AppRegNew.aspx
Followed by ...
0
votes
1
answer
320
views
Issues with SharePoint Online OAuth 2.0 & Lack of proper documentation
My end goal is getting an access token with which I can communicate to a SharePoint site and manage lists via CSOM (mostly upload documents into lists). I also need a refresh token to manage ...
0
votes
0
answers
23
views
Using exchange services to send meeting invites
There is a add-in available from Sharepoint Sapiens in which they are sending email invites to user (internal and external).
They ask for a email id from which emails should be sent, once added, the ...
1
vote
1
answer
45
views
AppPermissionRequests (ACS) overwrite
I couldn't find any direct answer online. Does anyone know, if using legacy /_layouts/15/appinv.aspx on existing app (addin), the existing permissions will be overwritten, or appended? I found ...
0
votes
1
answer
59
views
Can TokenHelper.cs use Azure AD to validate client secrets instead of Azure ACS?
If this is possible, how should the TokenHelper.cs be modified to accomplish this?
Background: I have a provider-hosted SharePoint add-in that uses the TokenHelper to validate client id/secrets. ...
0
votes
1
answer
52
views
SharePoint provider hosted app - IRemoteEventService - Redirect call
We have a provider hosted app deployed in Azure that handles list item events for item create/update etc. It handles traffic from lot of different sites. We want to split the traffic among different ...
2
votes
1
answer
1k
views
Rename a file - Without Delete permission
I want my users to
rename the documents
But not delete the documents
Is this possible in SharePoint Online ?
1
vote
0
answers
106
views
How to fix "There is no claims identity." error?
https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/authorization-code-oauth-flow-for-sharepoint-add-ins provides instructions how to get OAuth access to SharePoint.
The process starts with ...
0
votes
1
answer
30
views
Manage user access in SharePoint hosted add-in
I'm developing SharePoint hosted add-ins and I need a way to manage user access to the apps I'm developing. For example, I have a site with 3 different SharePoint add-ins that access to lists in the ...
0
votes
1
answer
53
views
SharePoint 2019 create library view file name based on user ID
I have SharePoint 2019, I am planning to configure employee's pay-slip over SharePoint. What I am getting from Finance is the pay-slip pdf file for each user, and each file has an employee ID as a ...
1
vote
0
answers
57
views
Install event for SPFx extensions
I'm just wondering, is it possible to configure SPFx extension to send Install/Uninstall events like the SharePoint AddIn sends to the remote event receiver (RER)?
1
vote
0
answers
120
views
Getting 403 error while uploading document using SharePoint REST API with Access Token
I tried as below but it's not working.
STEP 1
Registered the SharePoint Add-In using AppRegNew.aspx
(https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/register-sharepoint-add-ins)
Please note,...
0
votes
1
answer
56
views
Discussion board/comment exchange around individual document in document library
I want to have a discussion functionality around each document stored in the SharePoint Online document library.
Users can exchange comments around each document and can see the interaction. It is ...
0
votes
1
answer
377
views
How to download the SharePoint 2019 folder or mutiple files once time?
The server has been configured to the public network, so I cannot use the file explorer. And the solution needs to be integrated into SharePoint, so the PowerShell code will not be accepted.
Any ...
1
vote
0
answers
79
views
Best way to deal with the Azure ACS retirement in a provider hosted Sharepoint Add-in?
I have a provider hosted Sharepoint Add-In that currently authenticates via Azure ACS, using the process that is currently outlined in the Microsoft documentation. I am aware that for a new tenant, ...
1
vote
1
answer
104
views
Xml file comparison
Good afternoon All,
I want to compare XML file stored in SharePoint Online with its previous version and show the difference between them.
Could you please suggest any feature in SharePoint Online or ...
1
vote
0
answers
163
views
XML preview using XSLT in SharePoint Online & Power Automate
I am exploring SharePoint Online platform. There is a requirement to preview XML using XSLT.
Could you please suggest any existing feature of SharePoint Online or any customization possible to ...
0
votes
1
answer
42
views
Annotation or Markup Tool for SharePoint Server 2019
Is there any OOTB or third party tool that we can integrate with SharePoint On-Premises for annotation of MS Office and PDF files?
We are looking for a detailed tool to provide annotation ...
0
votes
1
answer
18
views
Replacing SharePoint toxic serves - Guidelines?
I am working on replacing toxic servers(Windows 2008 R2) with new servers Windows 2012 R2. Below are the steps I completed.
We are not replacing DB sever as it already Windows 2012 R2. Im only ...
0
votes
1
answer
280
views
Custom action Ribbon with multiple selected files in in CommandAction's Url
i'm creating a Provider-Hosted add-in for Sharepoint online and i want to select multiple files and send their ids with or their urls as query parameters in the CommandAction of a custom ribbon placed ...
0
votes
1
answer
253
views
Set List Item Default to Edit Form
We are using some Javascript customizations for SharePoint list items. My boss does not like the fact that we have three forms to choose from (edit, new, and display) and wants the user to be able to ...
0
votes
2
answers
2k
views
How create custom action button on sharepoint online command bar without spfx?
I'm creating a provider hosted add-in for sharepoint online and i want to create button or, better if possible, a dropdown button in the command bar, somthing like this:
maybe this question has been ...
0
votes
1
answer
83
views
Jquery not working on dialog box from list view
I am attempting to use some DOM manipulation to change list column names on a list Display view.
However when I use Jquery to create the array I get a null value. My test site has the Dialogs setting ...
0
votes
1
answer
236
views
Cannot read property 'PeopleManager' of undefined
I'm trying to use React useEffect Hook to get the current user's profile picture URL. I tried executeOrDelayUntilScriptLoaded and executeFunc() to get the SP.UserProfiles.js before running my code. ...
0
votes
1
answer
17
views
License requirement for adding a new item in customized SharePoint list
When an external customer is having access to SharePoint list , do they need license to create a new item in the customized SharePoint list ?
1
vote
1
answer
117
views
Navigation that goes to users document library
For some reason my management is 100% against one drive. Instead each of our departments has there own SharePoint site and inside of that site each user has there own document library that's locked ...
1
vote
1
answer
168
views
Why can't sendmail to a Email of Members of a Group from Addins?
I try this code to send mail from my addins:
function sendEmail(from, to, cc, bcc, subject, body) {
var urlTemplate = appWebUrl + "/_api/SP.Utilities.Utility.SendEmail";
$.ajax({
...
1
vote
1
answer
73
views
How can I join data from two custom lists in SharePoint add-ins?
I want join 2 custom lists in add-ins:
Data of Lists: QuanLyMembers.PhongBanId is ID value of QuanLyPhongBan
QuanLyPhongBan list:
QuanLyMembers list:
This is my code:
function getListMem() {
//...
0
votes
1
answer
25
views
Publish Azure Apps in SharePoint
I'm pretty inexperienced in the field of SharePoint, but among countless questions, this is one I could not find a clear answer for:
Can anyone point me in the right direction (or tell me how) for ...
1
vote
1
answer
30
views
How can get list Members of web host from addins?
I want get list group member of sites and email of users of groups from my addins:
I had tried this code but, it can't: it showing error testsite Members is not exist
function loadcboGroupofSite() {
...
3
votes
1
answer
77
views
How can access multi Lists from Sharepoint Add-ins?
I creating a SharePoint-hosted Add-ins.
I want access multi Lists in web host:
But it only Trust It a List
How can allow select multi List to Trust It
0
votes
1
answer
48
views
How can get information of file from add-in?
I getting list file of a Doc Library from add-ins:
This is my code:
function getListfile() {
var hostWebContext = new SP.AppContextSite(clientContext, hostWebURL);
var listFile = ...
1
vote
1
answer
146
views
Error changing collection administrator
Our environment is SharePoint 2013. I'm trying to change a collection administrator to DOMAIN\Username. However it fails, and looking up the correlation ID in the logs, I see this exception:
ERROR: ...
0
votes
1
answer
145
views
Server Error in '/' Application - SPO Provider Hosted App
I have a Provider Hosted App in SharePoint online, and the app website is hosted Azure. When I'm browsing the site getting the below run time error.
I made the custom error mode off in web.config but ...
0
votes
1
answer
245
views
Dynamic REST Statements
Is there a way to dynamically create a REST call and specifically I am referring to the data: section of the call. If I get the terminology incorrect by all means keep me honest. I tried some things ...
0
votes
1
answer
35
views
SharePoint app detailed permission level descriptions
I was searching for detailed description about permission scopes and the operations I can perform using them. However, I only found this information:
Read – Enables apps to view pages, list items, ...
0
votes
1
answer
79
views
How can I open a Provider Hosted App in SP Modal Dialog in SharePoint Online?
I need to open a provider hosted app inside a SharePoint Modal Dialog. The provider hosted app is hosted in AZURE Web App Services. I have tried several examples that I could see in Microsoft ...
0
votes
3
answers
575
views
Add multiple Fields For the CamlQuery in Sharepoint Hosted App
I am trying to filter two fields or more that is clean of null values.
It works for the first field but it is not working for the second field:
<View><Query><Where><IsNotNull>&...
0
votes
2
answers
1k
views
Permissions for SharePoint Add-in App registration
How can I see the permissions for a SharePoint Add-in App registration?
I once created it with https://contoso.sharepoint.com/_layouts/15/appregnew.aspx and gave it permissions with https://contoso-...
0
votes
1
answer
232
views
Create and Update Dictionary Key Value Pair using PNP js
I have a doubt in Key-value pair object. I need to create a key value pair and then I need to update it.
Example: I have to create the following kind of object:
var itemval = {
Id:1{Name:aa,Idval:1}...
0
votes
1
answer
418
views
ExecuteQueryAsync and Promises
I've been reading a lot of these posts to try and figure things out but still have some questions.
The sequence of events is Edit screen displays, user enters data, and submits(I have omitted that ...
1
vote
1
answer
674
views
How to get SharePoint 2013 on-premises appregnew.aspx to register my service principal in Azure AD automatically?
I have already run the PowerShell command Connect-SPFarmToAAD on the on-premises farm. (Connect-SPFarmToAAD is document here in detail: https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/use-...