Questions tagged [spfx-extensions]

SharePoint Framework Extensions let developers extend the user experience of SharePoint, providing ways to customize more facets of the SharePoint experience including notification areas, the toolbars of SharePoint, and the views of list data.

Filter by
Sorted by
Tagged with
8 votes
1 answer
4k views

Detect navigation change in SPFX Application customizer

I have a SPFX customizer that displays a banner in the topPlaceholder. When the page loads, if it's a list, then it performs a calculation and then displays the banner. When I move from one library ...
Cann0nF0dder's user avatar
  • 1,813
3 votes
3 answers
10k views

Customize master page on modern/communication site

I know that with the SharePoint Online publishing site we can develop a site where we can have the exact layout of my designed mock-up. So my question is will we be able to customize on some of the ...
user71767's user avatar
2 votes
1 answer
2k views

Sharepoint Online/O365 custom fonts

Is it in anyway possible to add custom fonts to Sharepoint Modern sites/pages? I know it's possible to change the theme for Sharepoint Online, but it's very limited (only color palette). I don't ...
TietjeDK's user avatar
  • 159
12 votes
3 answers
10k views

How does one pass parameters to SharePoint Framework Extensions in practice?

I am currently in the process of getting up to speed with SPFx and have gone through the Extensions Getting Started guide of the official documentation and skimmed a fair portion of the other ...
JLRishe's user avatar
  • 368
8 votes
1 answer
4k views

Is there any alternative of model-dialog available for SharePoint Modern Page?

I am currently working on SharePoint hosted app which has custom ribbon action in list & library. I have opened modal-dialog on ribbon action(HostWebDialog) but in SharePoint modern page it is ...
Jayesh Agarwal's user avatar
6 votes
5 answers
4k views

How to update ListView within spfx commandset to show new item

Im working on a pretty simple spfx CommandSet extension. Its goal is to duplicate an item, when an item is selected. I have the working code. My problem is, that i searched the context property, but ...
csonthejjas's user avatar
5 votes
3 answers
11k views

NodeJS not compatible

when I run gulp serve I get the following error. Your dev environment is running NodeJS version v10.15.0 which does not meet the requirements for running this tool. This tool requires a version of ...
user1339913's user avatar
5 votes
1 answer
4k views

What is difference between SharePoint Framework (SPFx) Extensions and SharePoint Framework (SPFx) Web PART

I have started working on SharePoint Online. Where I have to use SPFX. What is the Difference between SharePoint Framework (SPFx) Web Part and SharePoint Framework (SPFx) Extensions
Akshay Dattatray Nangare's user avatar
5 votes
2 answers
3k views

Can I target an existing column with a Field Customizer extension in SharePoint Framework?

When creating a FieldCustomizer extension as per the examples given, the process creates a new Site Column to which the customizer applies. I want to create and deploy an extension that targets an ...
Mike Atkins's user avatar
4 votes
2 answers
3k views

Can't deploy SPFx Extension tenant wide

When trying to deploy a SPFx Extension tenant wide, I get an error of "Sorry, something went wrong." The extension works locally. It also works if I install it to individual sites. We want to deploy ...
ChrisbChicken's user avatar
2 votes
2 answers
7k views

How to tell if page is in view/edit mode in SPFx?

Trying to build an extension to display differently based on if the page is in view or edit mode. Is there a built in way to see if a modern Site Page is in Read or Edit display mode? I know of ...
Jordan's user avatar
  • 2,804
2 votes
1 answer
7k views

_spPageContextInfo in modern pages

Using SPFx extension (application customizer) added JS files to all SharePoint pages (including modern pages), something like mentioned in below blog: Step by Step Procedure to Add a JS file to all ...
user4205's user avatar
  • 601
2 votes
1 answer
897 views

REST API Prompting for user credentials

I am attempting to traverse up the site hierarchy tree using the Rest API in SharePoint with SPFx in order to create "legacy-style" breadcrumbs. I am basing my component on the code found here. If ...
Shahul Hameed's user avatar
1 vote
1 answer
2k views

Getting warning messages : Warning - [sass] The local CSS class 'min-chart' is not camelCase and will not be type-safe

I am using third party css in SPFx. When I am building it, SPFx is showing me lots of warning messages : I am using Windows 10 / SPFx 1.11.0. Please let me know how to disable these warning messages. ...
Gaurav Goyal's user avatar
1 vote
1 answer
445 views

My first SPFx hello world - How do I get site owner?

I'm new here and looking for some guidance if possible. I have been following the hello world MS SPFx framework walkthrough. I have been playing the page placeholder walkthrough to add a custom footer ...
Joel H's user avatar
  • 13
1 vote
2 answers
2k views

Q: Create list item inside folder with SPFx

I am trying to create an item within a folder in a list. Is there an approach with pnpjs that looks like the following? TypeScript import {sp} from "@pnp/sp"; const shpList = sp.site.rootWeb.lists....
the simple's user avatar
0 votes
1 answer
756 views

Open a custom form from New item list button

I'm looking to open a custom New Item form developed in SPFX on click on New Item button in SharePoint List, and on the edit form as well, I want my custom form to be load. How can I implement such ...
Muskan's user avatar
  • 886
0 votes
1 answer
1k views

Does anyone know how to use live persona card and load data from a SharePoint list?

Does anyone know how to use live persona card and load data from a SharePoint list
Charalampos Charalampous's user avatar
0 votes
0 answers
430 views

CORS and SP2019 on prem dev

I'm again trying my hands on some SPFx development on code downloaded from GitHub. As we are behind firewalls and they won't open anything I have to use a local CDN for all my manifest files and what ...
Joel H's user avatar
  • 13