Questions tagged [sharepoint-addin]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 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 ...
user avatar
0 votes
0 answers
13 views

How to provide tenant admin permission to app only console PHA on SharePoint 2019 On-premise

I used appinv.aspx to grant tenant admin permission to app only provider hosted add-in on SharePoint 2019 on-premise. Got the error message "Your tenant administrator has to approve this app"...
user avatar
  • 1
0 votes
0 answers
13 views

How do I add an link to a list settings page under "General Settings" that redirects to my provider-hosted app in SharePoint Online?

I'm working with a legacy SharePoint Add-In and need to add a link to my provider-hosted app to a list settings page under "General Settings". I tried following examples here: https://www.c-...
user avatar
0 votes
0 answers
22 views

SharePoint remote event receiver debugging stuck at grant permissions page

I'm trying to create a remote event receiver for a SharePoint online dev site (referred guide - https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/handle-list-item-events-in-the-provider-...
user avatar
1 vote
1 answer
16 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 ...
user avatar
0 votes
0 answers
5 views

For a provider-hosted SharePoint add-in, is there a way to verify that a client ID/Secret works before deploying?

TokenHelper is used to validate client id/secrets. For my add-in, these values are generated using Partner Center. Is there a way to validate them prior to deploying? Sometimes the generated client ...
user avatar
0 votes
1 answer
16 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. ...
user avatar
0 votes
0 answers
21 views

New Webparts not showing on the webpart browser

A SharePoint user creates a site, is a site owner, makes himself SC Admin, but when he adds an app from App Store/appsource, the webparts are not added on the site, except 1 blank webpart named %TITLE%...
user avatar
0 votes
1 answer
20 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 ...
user avatar
  • 666
1 vote
1 answer
207 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 ?
user avatar
0 votes
0 answers
21 views

What is the best way to show a PaaS webform with aad inside SharePoint online

We have created a PaaS webform application with AAD authentication using owin. Page is working fine, but when add it inside SharePoint online iframe it login.microsoftonline.com refused to connect. ...
user avatar
  • 1
0 votes
0 answers
73 views

Sharepoint REST API - Search - Giving "Application does not have administrative permissions in tenant" error

I am trying to call SharePoint search API using an APP registered on my SharePoint site. We are using SharePoint Online. The App has permissions like: <AppPermissionRequests AllowAppOnlyPolicy=&...
user avatar
0 votes
0 answers
23 views

How to load Organizational Site Template in Sharepoint

As below image I can able to set template from Microsoft or Organization BY clicking Settings-> 'Apply a Site Template'. Is there way to add custom template for my Organization ? such as using ...
user avatar
1 vote
0 answers
71 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 ...
user avatar
  • 113
0 votes
1 answer
16 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 ...
user avatar
0 votes
0 answers
25 views

How to change the message in any site from "This site hasn't shared with you" to "Let us know why you want the access of this site"

When ever any user is not able to access the site he is getting this error like this "This site hasn't shared with you" and also sometime this message is coming "Let us know why you ...
user avatar
0 votes
1 answer
31 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 ...
user avatar
1 vote
0 answers
38 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)?
user avatar
1 vote
0 answers
35 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,...
user avatar
0 votes
1 answer
33 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 ...
user avatar
0 votes
1 answer
56 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 ...
user avatar
  • 1,914
1 vote
0 answers
59 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, ...
user avatar
1 vote
1 answer
74 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 ...
user avatar
1 vote
0 answers
64 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 ...
user avatar
0 votes
1 answer
28 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 ...
user avatar
0 votes
1 answer
16 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 ...
user avatar
  • 101
0 votes
1 answer
180 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 ...
user avatar
0 votes
1 answer
96 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 ...
user avatar
  • 75
0 votes
2 answers
1k 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 ...
user avatar
0 votes
1 answer
51 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 ...
user avatar
  • 75
0 votes
1 answer
141 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. ...
user avatar
0 votes
1 answer
9 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 ?
user avatar
1 vote
1 answer
36 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 ...
user avatar
1 vote
1 answer
60 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({ ...
user avatar
  • 123
1 vote
1 answer
56 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() { //...
user avatar
  • 123
0 votes
1 answer
16 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 ...
user avatar
1 vote
1 answer
29 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() { ...
user avatar
  • 123
3 votes
1 answer
68 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
user avatar
  • 123
0 votes
1 answer
35 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 = ...
user avatar
  • 123
1 vote
1 answer
108 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: ...
user avatar
  • 163
0 votes
1 answer
68 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 ...
user avatar
0 votes
1 answer
140 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 ...
user avatar
  • 75
0 votes
1 answer
30 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, ...
user avatar
0 votes
1 answer
60 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 ...
user avatar
0 votes
3 answers
233 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>&...
user avatar
  • 1
0 votes
2 answers
356 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-...
user avatar
  • 123
0 votes
1 answer
112 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}...
user avatar
0 votes
1 answer
161 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 ...
user avatar
  • 75
1 vote
1 answer
447 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-...
user avatar
0 votes
1 answer
109 views

Unable to Give Full Control to SharePoint Online Add-in

I registered an add-in on my SharePoint Online site collection by going to [Site Collection URL]/_layouts/15/AppRegNew.aspx Noted Client ID and Client Secret. Trying to give it FullControl here: [Site ...
user avatar

1
2 3 4 5
48