Questions tagged [sharepoint-addin]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
32 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
18 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
17 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
15 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
13 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
11 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
34 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
14 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
84 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
31 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
27 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
21 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
31 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
43 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
41 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
12 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
28 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
5 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
29 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
38 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
32 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
11 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
21 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
23 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
31 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
16 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
52 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
33 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
0answers
10 views

SharePoint Hosted App - Error - Failed to install sharepoint add-in while deployment

I have created site columns then added them to Content type, till here everything works. But when I create list and generate the content type columns to the list I get the below error while deployment:...
0
votes
1answer
37 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
1answer
123 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-...
0
votes
0answers
11 views

Data-Ms-Options is not a valid attribute of element 'div'

I am using VS 2019 to develop a sharepoint add-on for sp online. When I hover over 'data-ms-control' and 'data-ms-options', I get the error "Validation(XHTML 1.0 tRANSITION): Attribute 'data-ms-...
0
votes
0answers
71 views

Accessing SharePoint on-prem REST API from low-trust add-in using authorization code flow possible for every user?

We need to integrate SharePoint Online and SharePoint 2019 on-prem. (But this could be any external system integrating with SP on-prem.) We need to retrieve data from the SharePoint 2019 farm to show ...
0
votes
1answer
27 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 ...
0
votes
1answer
54 views

Getting thumbnail data for documents with CSOM / API

In our project we're trying to integrate with SharePoint Online using SharePoint App-Only authentication method and client-side object model (CSOM) to retrieve data. This solution seems to be working ...
0
votes
1answer
23 views

SharePoint hosted addin file not found

I am building SharePoint hosted add-in. I am trying to reference the sp.js and sp.runtime.js but I am getting error File '_/layouts/15/sp.runtime.js' was not found. SharePointHostedAddin Screenshot ...
2
votes
0answers
70 views

SharePoint Add-in: Client Id and secret for US Gov tenancy

We have a SharePoint (SP) provider hosted add-in that works in normal SP sites in commercial cloud. However, for tenancies where Azure AD is in US Gov cloud, we are not able to create the client ...
1
vote
0answers
28 views

Add in Remote event receiver for sharepoint permission issue

I have trying to debug a remote event receiver , I have already published to azure.Now when i launch the app in debug mode even after logging in one more window pops up eventhough i have given ...
0
votes
1answer
44 views

Use a workflow to create a NEW SharePoint list

I am trying to build a workflow that creates a new list for me. Based on certain conditions on the original list, the workflow should build me a new list, which will have text, number, and lookup ...
0
votes
1answer
42 views

SharePoint Users access token through SPO application client id and secret

Is there any way to get particular user's SPO access token through client id and secret of the custom application registered inside SPO site collection ? I do not want to show the consent screen to ...
1
vote
0answers
38 views

How to convert word document to PDF in SharePoint 2016

Is it possible to convert a word document to PDF on SharePoint 2016 using custom code such as JavaScript ? I have heard of Word Automation Services but I am looking for custom code solutions that ...
0
votes
1answer
32 views

Listening to ItemAdded File Stream is NUll

I'm currently listening to the ItemAdded event using a RER for a DocumentLibrary, this so far works perfectly. However I have an issue where when I try to access the file stream it returns as null. I ...
0
votes
1answer
62 views

properties.ItemEventProperties.AfterProperties[“ProjectDateSinged”] will show the date minus one hour

I have the following code inside my remote event receiver inside a SharePoint online team site, the remote event receiver is deployed inside azure web service:- if (i["ProjectDateSinged"] != ...
0
votes
1answer
27 views

Add a request form button to SharePoint 2016 calendar

I am new to SharePoint. I added a calendar web part to a SharePoint page so we can add events to it. I've given read access permissions to the calendar to users external to our organization. I want to ...

1
2 3 4 5
48