Hot answers tagged

2 votes

Injecting CSS on SharePoint Modern pages in SharePoint Server 2019 environment

The web part in the link you provided is using SPFx v1.8.0 which is supported in SharePoint online only. While SharePoint 2019 supports SPFx version up to v1.4.1 only. Source: SharePoint Framework ...
user avatar
  • 28.2k
2 votes

"gulp serve --nobrowser" is raising this error "Task never defined: serve"

It sounds like your system may not be properly configured. The first step is to check to see which version of SPFx you have installed. You can do this by running npm list -g --depth=1 @microsoft/...
user avatar
  • 11.5k
2 votes
Accepted

My SPFx compatibility between SPFx & Node.js

Yes, Node.js v14 and SPFx v1.14 are compatible with each other. Check detailed SPFx compatibility matrix at: SPFx development environment compatibility Answer to your 2nd question: Node.js v14 is the ...
user avatar
  • 28.2k
2 votes

Links in Site Pages Library: Get using Rest API

You can use below endpoint to get the actual web page URL you provided while creating a link page: <siteUrl>/_api/SP.Utilities.ShortcutLink.GetShortcutLink(@a1)?@a1='https://tenant.sharepoint....
user avatar
  • 28.2k
1 vote

SPFx app after updating node version app not working

Node.js version 16.x is not yet supported for SPFx development. Node.js version to use is depend on the version of SPFx generator you are using. For example: If you are using SPFx v1.14, you can use ...
user avatar
  • 28.2k
1 vote
Accepted

Building a react application with Microsoft graph and SharePoint

You can follow below Microsoft official documentations to use Microsoft Graph in react based SharePoint framework (SPFx) web parts: Use the MSGraphClient to connect to Microsoft Graph Consume the ...
user avatar
  • 28.2k
1 vote

SPFx - Increment Like in sharepoint list item rating

Thanks @Ganesh Sanap. I couldn't use .like() method for sharepoint online. But this method works in your link How to like/unlike resource via SharePoint REST API var likesCount=item["LikesCount&...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible