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
23 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
39 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
37 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
11 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
65 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
28 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
0answers
25 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
9 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
18 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
22 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
27 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
2answers
13 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
32 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
24 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
28 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
69 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
44 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
26 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
37 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
20 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
65 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
24 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
42 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
38 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
37 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
30 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
53 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 ...
0
votes
0answers
22 views

SharePoint Hosted Add In REST API returns null for lookup field values

I have written following REST Query in SharePoint Hosted Add In to get list items: <appweburl>/_api/SP.AppContextSite(@target)/web/lists/getbytitle('PageAccessMatrix')/items?$select=Headers,...
0
votes
0answers
11 views

AppWebUrl is undefined for using cross-domain library in Provider Hosted App-2016 On-Premise

App is Hosted on IIS below the URL: https://localhost:44343/Pages/Default.aspx?SPHostUrl=http%3A%2F%2Fecontent&0319c41%2Eecontent%2Eelibrary%2Eapps%2Elocal%2FSharePointApp2%5Fsingeltest. I have ...
0
votes
1answer
18 views

Provider Hosted App-Not able to get data from list using JSOM or Javascript in sharepoint 2016 On-Premise

My Provider-Hosted App published and hosted on IIS with https. The URL is like: https://localhost:44343/Pages/Default.aspx?SPHostUrl=http%3A%2F%2Fecontent&0319c41%2Eecontent%2Eelibrary%2Eapps%...
0
votes
1answer
99 views

Unable to approve a pending app request

I want to add a SharePoint app inside our site, where from the SharePoint store i added the app, as follow:- then i received the following :- after that i requested the app:- but i am not sure how ...
0
votes
0answers
9 views

Cant Access sharePoint Outside the Farm servers on workstation withing the network

So i have a single server farm SharePoint 2016 staged environment and i can easily access site outside the farm server on a workstation within the network However on the live environment that i ...
0
votes
0answers
57 views

Method “StartUpload” does not exist

My objective is to upload the large files in SharePoint 2013 by using CSOM application. I am trying to upload the large file in a chunks by referring the available solution and details in this GitHub ...
0
votes
1answer
34 views

inventory of app-only access

I need to make an inventory of all App-Only access defined on site collection level, created according to this documentation: https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/security-...
0
votes
2answers
21 views

How to apply security patch in SharePoint 2010 without upgrading to cumulative update?

Microsoft releases security bulletin every month which also include SharePoint vulnerabilities. We have many sites running on my SharePoint 2010 instance, and if we apply cumulative update according ...
0
votes
0answers
55 views

System.UnauthorizedAccessException while trying through rest api.I am trying to get list of files in the folder

I have a sharepoint url access from front end and i am trying to access it through REST API in python url = "mysharepoint_url/_api/web/GetFolderByServerRelativeUrl('" + folder + "')/Files" header = {'...
0
votes
1answer
79 views

How to list all personal sharepoint sites using microsoft graph?

I want to fetch following data using Microsoft graph API All the root sites(group + personal) All group root sites All personal root sites For the first case currently I am using https://graph....
0
votes
1answer
2k views

AADSTS7000215: Invalid client secret is provided

We are integrating with client's SharePoint using SharePoint REST API. For this, the client has registered an add-in at their side using the appregnew.aspx and provided permissions to the Add in using ...
0
votes
0answers
35 views

Accept form POST request in Sharepoint Online Addin

I am trying to make a simple addin that accepts a POST request (from a File Handler) and makes the form data available for Javascript to use. It works fine when hosted locally, but when I tried to ...
0
votes
0answers
6 views

SharePoint 2007- How To identify if list is getting data from oracle and how?

We are having SharePoint 2007 and one of the list is synced data from oracle. Now i want to identify how and exactly from where this list is getting data.
0
votes
0answers
21 views

Create and debug a file handler

How do I create and debug file handlers? I tried following the Microsoft docs, but those docs and anything else I can find are out of date and I can't tell if I'm missing a step or made an error in ...
0
votes
0answers
19 views

Sharepoint 2019 - Approved app - unable to install

I have a provider-hosted App that I've added tenant rights for. When I try to update the app it has an error saying "Your tenant administrator has to approve this app. Request Approval." I then ...
0
votes
1answer
23 views

Need to customize (Add Button or Combo box) in Modern View strap of SharePoint 2019 using ASP.NET

Priority: High Environment: OS: Windows Server 2019 SharePoint: - Version 2019 Development Language: - asp.net Deploy File: wsp . Requirement: - We are developing an Add-On on Sharepoint 2019, ...

1
2 3 4 5
48