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
0answers
13 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. ...
0
votes
0answers
11 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=&...
0
votes
0answers
15 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 ...
1
vote
0answers
53 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
1answer
9 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
0answers
24 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 ...
0
votes
1answer
26 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
0answers
20 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
0answers
24 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
0answers
9 views

SharePoint hosted apps not working on Apple Devices

I have noticed that all SharePoint hosted apps not working. I have checked many apps like, Stock Tickers, Employee Directory, RSS Viewers https://appsource.microsoft.com/en/product/office/WA104381291 ...
0
votes
0answers
40 views

High-Trust SharePoint Add-in error

Trying to connect new sp 2019 farm with current PHA server (IIS). The current PHA server is using for sp 2013 farm and working properly. Everything was done and cert registered as described here ...
0
votes
0answers
9 views

I need sharepoint api Url that can help me to change metafileds i.e owner of folder once it got created via api

Looking for SharePoint URL that can be used to do POST operation for changing meta fields such as owner of the folder once folder got created through REST API Will be waiting for help. SharePoint ...
0
votes
1answer
19 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
0answers
122 views

Update members of SharePoint Group by using MS Graph API

Spent already a fair amount of time trying to figure this one out: Is it possible to create a SPO site collection and then update the members in a group in a SPO site collection by using an Azure AD ...
0
votes
1answer
27 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
0answers
49 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
1answer
52 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 ...
0
votes
0answers
55 views

ClientContext gives 401 unauthorized for AccessToken from https://login.microsoftonline.com/{tennant_id}/oauth2/token

I'm using CSOM APP-only auntentication method to connect with SharePoint in a .Net Core Application using MicrosoftSharePointCSOM package and not PNP packages. Problem- I'm using below endpoints to ...
0
votes
0answers
5 views

Get Calendar for Project via API

I have an API of Local Sharepoint at http://localhost:8081/ i can get response from http://localhost:8081/_api/web/GetFileById('35856bab-6512-4237-92b0-01d6d5e7852d')/ I want get a CALENDAR associated ...
1
vote
0answers
29 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
1answer
24 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
1answer
15 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
0answers
16 views

How we need to manage the App Secret expiry without having any downtime

I have have been working with remote event receivers for long time but i have never thought that they actually get expired, so based on this link @ https://docs.microsoft.com/en-us/sharepoint/dev/sp-...
0
votes
0answers
19 views

My SharePoint Add-in which implement a Remote Event Receiver is raising this error:- "This App's Credentials have expired"

I have a sharepoint add-in which implement a remote event receiver, and today i wanted to add it inside a new site, but when i try to add the sharepoint add-in the got this error:- now i have ...
0
votes
1answer
80 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
0answers
21 views

Create a re-usable App for a list and its MS Flow

I have created a list + MS Flow for it, here are the main components:- 5 site columns Custom Site content type which has the "Item" site content type as its parent. the Custom site ...
0
votes
1answer
21 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
2answers
436 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
1answer
36 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
1answer
60 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
1answer
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 ?
1
vote
1answer
26 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
1answer
37 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({ ...
0
votes
0answers
52 views

Display O365 Room on sharepoint page

We have a sharepoint online page which we would like to display our current rooms/calendars (3 of them all with email address's) which have already been setup within O365 and have entries in them ...
1
vote
1answer
47 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
1answer
14 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
1answer
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() { ...
3
votes
1answer
66 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
0answers
6 views

Excel Add-Ins deployment in Sharepoint Excel ( a work around for Sharepoint excel webview bug, where user can remove the filter on protected sheet

Please may I know step by step process of taking a excel add-ins stored as .XLAM and to be deployed in Sharepoint excel, to enable many users to have the functionality and at the same time hide the ...
0
votes
1answer
33 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
1answer
66 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
1answer
41 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
0answers
9 views

Retrieve Auto-Generated app unique id in SharePoint Hosted Add-In (On-Premise 2016)

The SharePoint add-in auto-generates a unique id for the add-in upon each new deployment, see screenshot! Is there any way I could retrieve (capture) that id in a post deployment script thats runs ...
0
votes
0answers
15 views

SharePoint-hosted Add-ins Microsoft Graph API : Access-Control-Allow-Origin

I am trying to integrate Microsoft Graph authentication and access Graph Api via Sharepoint hosted add in. Everything works OK. But sometimes i have an error like below. Chrome function get() { var ...
0
votes
1answer
67 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
1answer
25 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
1answer
44 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
3answers
83 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
2answers
165 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
1answer
62 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}...

1
2 3 4 5
48