Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [nodejs]

Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices

1
vote
1answer
30 views
+50

Integrating Azure custom BOT on SharePoint home page

I am planning to create a custom UI Bot using ReactJS and have it on the Home page(NOT modern) of our SharePoint site. After some research, i found out we can use it with SPFX webpart and possibly ...
1
vote
2answers
41 views

Error after installing the SPFx environment for the first time

Got a following error after installing the SPFx environment for the first time any help would be helpful. Thanks in Advance.
0
votes
0answers
18 views

Getting error while installing YOMEN for setting up SPFx development environment

I have installed NODE 8.15.1 on windows. When i am trying to install yomen using the command npm install -g yo I am getting EINTEGRITY error. npm WARN deprecated cross-spawn-async@2.2.5: cross-...
0
votes
0answers
21 views

Adding metadata tags to sharepoint files using REST API through NodeJS

I am creating folders and posting files to SharePoint successfully using REST API in NodeJS. The library I used is "request-promise-native" and everything is working fine. Now, I want to add metadata ...
1
vote
1answer
225 views

Steps to setup SP2016 onprem with React using SPFX

I am trying to setup SP2016 onprem with React, using Yoeman generator @microsoft/sharepoint. I am getting errors when I run gulp serve. Need Help on setting up this project using SPFX. I have ...
2
votes
1answer
43 views

What are the alternatives to authenticate in SharePoint beyond AD to use the Rest API?

I am trying to consume via Rest the Ms Project API from a Node client, I was searching and found that it's possible to get an access token from the ACS (Azure Access Control) and use this in the rest ...
1
vote
0answers
172 views

Gulp Serve Error: Error: EISDIR: illegal operation on a directory, symlink

I am following the instructions in this guide. https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/build-a-hello-world-web-part The only difference is that I installed yo ...
1
vote
2answers
353 views

Sharepoint REST API Download File Using NodeJs

i'm trying to save file to my drive using NodeJS as backend. So far, i managed to access https://${sites}/_api/web/GetFolderByServerRelativeUrl('Shared%20Documents')/Files('test.xlsx')/$value and ...
1
vote
3answers
273 views

ts Cannot find the module

I am very new to the SPFx I just started. I was making my first web part in Visual Studio Code but I was having some difficulty in my code. May be somebody can help. I have scss module in the same ...
0
votes
1answer
325 views

How to get logged-in User Token on Sharepoint using Node JS/C#

I have a requirement that i want to retrieve SharePoint logged-in user Token or computer login credentials token so that i will be ensure that user is logged-in then i will not allow user to enter ...
0
votes
2answers
359 views

SharePoint 2016 On Premise Dev using SharePoint Framework

This is my first question in this forum ;) I need to develop SharePoint 2016 On Premises solution in Visual Studio using the SharePoint Framework. i did some RnD over it and found a nice articles on ...
1
vote
1answer
254 views

SPFx -DO I need all of the node_modules for every new webpart I build?

I have noticed that every time I create a new SPFx web part, using Yeoman for generating a project, the folder size is 300+ mb. I noticed the majority of the size comes from the node_modules where all ...
0
votes
1answer
272 views

Sharepoint REST A node of type 'EndOfInput' error when using NodeJS

I'm using a NodeJS express server as middleware for an iOS app in order to store data in a Sharepoint list. The iOS app makes a post request with the payload to a NodeJS server, which then ...
16
votes
2answers
1k views

How to actually use webhooks, GetChanges and GetListItemChangesSinceToken?

My main goal is a very simple duplicate of alerts, to play around with webhooks, just a simple "User X changed field Title from 'Hello' to 'World'". So far so good After some struggle I finally ...
0
votes
1answer
162 views

SharePoint Online Workbench Question

I am very new to the SharePoint Online and I was following below tutorial on Youtube from Microsoft https://www.youtube.com/watch?v=QbDtsMg88Js&list=PLR9nK3mnD-OXvSWvS2zglCzz4iplhVrKq&index=2 ...
4
votes
2answers
1k views

SharePoint Framework (SPFx) information questions

I have to present the SharePoint Framework(SPFx) to colleagues but I don't find answer to all my questions. I red main interests of SPFx are : improve the user experience open the door to open ...
4
votes
1answer
2k views

Download sharepoint document with REST as binary file not working for me

First of all, i am using node.js with provider hosted app with elevated rights to do this, no front-end at all. I just want to download a file using the API and then save it. I can't save if the API ...
2
votes
1answer
304 views

Error while using gulp-spsync with SharePoint Framework

Reference article that I followed to upload files to SharePoint Library: Automate publishing of your SharePoint Framework scripts to Office 365 public CDN. I updated write-manifests.json with correct ...
1
vote
0answers
84 views

Node JS - Upload base 64 image to a picture library

I have been trying for a while to get this working; I have base64 in this format: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA... and i am trying to use REST to add it to the library, I am fully ...
2
votes
0answers
908 views

How to connect to SharePoint ( with Node.js) using OAuth with user context?

I created a Node.js App that connects to SharePoint(OnPremise and O365) and does all sorts of things. The app uses sp-request and node-sp-auth APIs for Basic Authentication (username, password), and ...
5
votes
3answers
9k views

How to use SharePoint RESTful web services with Node.js?

I'm working on a Node.js app and I'd like to use some basic SharePoint services inside the app. I've already done this using java and SOAP web services (copy, list, search) And now I'd like to do the ...
3
votes
1answer
819 views

REST to create a Sharepoint List in Node.js hosted offsite

I am trying to use request to create a SharePoint list with node. I am 90% sure all my headers are okay, but I am not too sure. I know all the auth headers are populated with values too; any help ...
2
votes
2answers
550 views

Cannot import a Web Part Using REST getlimitedwebpartmanager(1)/ImportWebPart

I'm trying to import a CEWP on the page via REST api I've found an example here but it does not seem to work for me. After posting the data I get a successful 200 Status call with no errors. ...
4
votes
2answers
4k views

How to make a rest call to SharePoint 2013 from node.js?

In my node.js app, I want to make a rest call to sharepoint 2013. This is the node.js code function downloadData(res, key, success, fail) { var opts = url.parse(key); opts.method = 'GET';...
2
votes
1answer
619 views

How to use Node.js in SharePoint 2013 web front end architecture?

I want to use node.js and sockets.io in my share point 2013 environment, which has 2 web front ends and 1 app front end. The problem I am wondering, is that I know I need to install node.js on both ...
2
votes
2answers
2k views

Sharepoint 2013 and Node.js upload functionality for Sharepoint

As the question suggests we are looking for creating functionality of Upload/Download using Node.js. We have our destination in SharePoint 2013 document library where we want to upload files. First ...
1
vote
1answer
759 views

how to update managed metadata fields using rest?

I am using rest to post resources in Sharepoint and I can insert my files without problems. However, when I tried to update the metadata fields even using the unique identifier of the term I want to ...
8
votes
3answers
5k views

OAuth Authentication and Authorization to REST API from a Node.js Javascript program

I have a Javascript that retrieves the UserCollection from a Site and does some other things from the REST API. This script runs in my own Node.js server. Currently, I use HTTP Basic Authentication ...