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
1 vote
1 answer
1k views

How to inject custom CSS in Modern Site Pages using SPFx Extensions

I would like to inject Custom css in modern site pages. Here i need to change all the fonts on the modern site and i would like to achieve this via App Customizer with SPFx Extensions. Any tips Or ...
1 vote
1 answer
2k views

using SP.UI.Modaldialog.showDialog(options); in spfx listview extension is executing but no dialog is visible

Hi I'm trying to open sharepoint dialog using spfx extension in which using typing able to get the SP.UI.ModalDialog Object in ts file of the extension. And the code # SP.UI.ModalDialog....
0 votes
1 answer
1k views

SPFx "Command Set" that displays a dialog box or panel containing a "people picker" control

I'm new to working with SPFx extensions. Requirement is create a SPFx "Command Set", that on click displays some sort of dialog box or panel containing a "people picker" control within it. I've ...
0 votes
1 answer
1k views

OAuth authentication for SPFx solutions

I am challenged by a SPFx based solution (WebPart as well as Commandbar-Extension). I have a set of APIs which are secured by OAuth. There is a dedicated authentication server, so I can't just use ...
0 votes
0 answers
12 views

SPFx Field Customizer - issue with loading customizer, manifest not found

I implemented field customizer for list, tested it locally where it works, and then deployed to Sharepoint Online. There I have following issue: Fail to load customizer for column: myColumn, ...
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 ...
0 votes
2 answers
33 views

Adaptive Card Extension (SPFx) build fails with no warnings or errors

My Adaptive Card Extension (ACE) works perfectly in the workbench, however when I try to package it, first with gulp bundle --ship then gulp package-solution --ship it fails to package. The bundling ...
0 votes
1 answer
1k views

WebParts keep loading untill I scroll down the page or perform a zoom

environment:SharePoint online;Sharepoint Framework; Programming languages:TypeScript During page loading, sharepoint custom web part keeps on loading Nothing does change untill I scroll down the ...
0 votes
1 answer
2k views

How to load the custom CSS in SPFx Extension before the page load?

We are loading a custom CSS using SPComponentLoader in SPFx Extension to apply these styles in header. But while the page loads, the UI is not coming properly as the Custom CSS loads after the Page ...
0 votes
1 answer
1k views

How to add bootstrap to spfx extension

I am building SPFx extension for the first time, I am little unsure how to add bootstrap to extension and I am creating dropdown. Basically it goes out of the frame. BreadNav.tsx import * as React ...
1 vote
1 answer
265 views

How to change SharePoint Site language programmatically using spfx extension

it there way to change language dropdown of SharePoint site such as English to German using spfx solution ? I am looking function like pagecontext.setLanguage(1031);
0 votes
0 answers
36 views

How to update Enterprise Keywords column in SPFx WebPart or Extension using PnPJs

How can I update the Enterprise Keywords column of a SharePoint document library using PnPjs in a SharePoint Framework (SPFx) Web Part or Extension. How can I design a user-friendly user interface (UI)...
0 votes
1 answer
49 views

Advice for disclaimer pop up Sharepoint Online

Just looking for some advice. I have a request to provide a 'Disclaimer pop up' which appears on screen the first time an external user visits one of our sites. Once the user has clicked ok, the ...
0 votes
1 answer
103 views

SharePoint Online modern Footer created using SPFx Extension Application Customizer is freeze at the bottom of screen. How to place at bottom of page?

We are creating a custom footer though SPFx Application Customizer for modern sharepoint pages. But our requirement on the Footer is to show the footer with a increased height. Once we deployed the ...
0 votes
0 answers
136 views

SharePoint Online Client Extensibility Web Application Principal is excluded from policy but blocked

We want to exclude SharePoint Online Client Extensibility Web Application Principal from a certain block Conditional Access Policy. What different apps or what had to be excluded as a sub task as well?...
2 votes
1 answer
2k views

Can I add more than one SPFX extension - Application Customizer in one solution?

I am trying to add more than one SPFX extension in my solution (Application customizer in this case - one for header another for footer) but after deployment I only see one extension in my site. Am I ...
1 vote
3 answers
1k views

SharePoint online modern experience hide suiteBar, left navigation and top ribbon using SPFX showing it for few second then its hide

I am hiding suiteBar, left navigation and top ribbon using SPFX extension but for few second its showing up. I don't want to show it for few second also. I tried to hide it from master page alternate ...
0 votes
1 answer
1k views

Extension working in layout pages but no longer working anywhere else

I've developped a custom Extension with SPFX. This custom extension performs a Search. I deployed it. Everything worked totally fine during 6 months. And now, out of the blue, my extension is only ...
0 votes
0 answers
23 views

PNP Dynamic Form - cascading look up column and tabs

Can you please help me on below topics regarding to PNP Dynamic form in SPFx how to filter and cascade look up column how to arrange fileds in tabs Thanks Praveen
0 votes
0 answers
27 views

Issue with converting a sp ui modal dialog to spfx dialog

I'm trying to convert a list custom action containing a modal dialog to an spfx extension to make it work on modern list. The custom action open a SP.UI.ModalDialog and call an aspx page inside to do ...
0 votes
1 answer
70 views

How to make SPFx extension triggered when new file uploaded to Sharepoint libraty?

I'm making a SPFx extension. I want it to trigger each time when new file uploaded in my Sharepoint library. Could someone assist me with achieving this functionality?
0 votes
2 answers
1k views

add a custom button Doclib-ribbon SharePoint Online

I would like to add a custom button on the default Document Library Ribbon. You know, like next to 'new','share','automate','myCostumBtn' Any of you guys a good suggestion?
0 votes
2 answers
2k views

Display Rich Text in SharePoint Online

I am trying to display the rich text in a list item . I tried using the JSON formating, but it does not seem to have any support for "Enhanced rich text". The txtcontent converts the rich text to ...
3 votes
1 answer
1k views

What is the correct way to create a custom action using REST API in SharePoint Online?

I'm trying to use Microsoft Flow and the Send an HTTP request to SharePoint action to deploy an SPFx application customizer to a modern team site. I'm able to use the /_api/Site/UserCustomActions ...
1 vote
0 answers
396 views

SPFx extension customizer JS files is not loading on production tenant of my SharePoint Online site

I have two different tenant, one is for development things and another for production. I have developed one SPFx extension and deployed on development and production site. It was working perfectly ...
0 votes
3 answers
1k views

jQuery is not defined in SPFx extension

I have created SPFx extension (not a webpart, in case it makes any difference) and trying to add jQuery but its not doing it. I have installed it into package with npm install --save @types/jquery ...
1 vote
1 answer
2k views

Unable to Load CSS from the style library using SPFx Extension

I want to load the CSS file from Style Library of the site. I have created the SPFx extension of type Application Customizer. The purpose of the CSS loading is to change the UI of the web parts. I ...
2 votes
1 answer
1k views

SharePoint Online Custom modern page Footer using Application Customizer

We are creating a custom footer though SPFx Application Customizer for modern sharepoint pages. But our requirement on the Footer is to show the footer with a increased height. Once we deployed the ...
0 votes
1 answer
30 views

ListViewCommand Set Extension with multiple options

I am trying to group multiple list commands using SPFx ListView Command Set extension. Is this possible? See example: Example multiple list commands
0 votes
0 answers
40 views

How to Add One SPFx Webpart into Other SPFx Webpart?

I have many SPFx webparts. All are developed either by "React" or "No Javascript" concepts. Now, I want to merge all webparts into SPFx React single page application. Is there any ...
0 votes
0 answers
92 views

Getting "Unexpected token " error while checking for Yeoman version SPFX

Im working on adding a top placeholder enhancement using spfx extensions for sharepoint online Got "Unexpected token " error while creating spfx solution using : yo @microsoft/sharepoint ...
0 votes
1 answer
199 views

How do I get direct access to a file in Sharepoint online witha direct URL?

I have a file in a Document Library. I can reach that file with a direct URL in the form https://[tenant].sharepoint.com/sites/[site_name]/[Document_Library]/[Sub_Folder]/document.pdf Now what I'm ...
0 votes
1 answer
49 views

Public CDN image not showing on the Spfx Extension Application customizer

I have an Image using PublicCDN which is referring in my Spfx ext application customizer but some how it is not displaying the image when I deploy in App catalog. <div className={`ms-bgColor-...
0 votes
2 answers
669 views

SharePoint online (SPFx with react) - custom forms?

I'm building custom New and Edit forms. I'm interested if there is some way to get the fields of list displayed on Edit/New that would work by default from SharePoint, or I must rebuild every field ...
0 votes
0 answers
376 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 ...
0 votes
1 answer
152 views

SPFx Form Customizer Deployment issue

I built SPFx Form Customizer but I have problems when I deploy it. It doesn't get applied to forms. I assume that the issue is in connecting form customizer with list. I tried following several ...
0 votes
1 answer
240 views

Optimize spfx extension loading time

I have spfx extension Application customizer which has very long loading time takes like 4.37 s, I was wondering how to improve the loading time. Edit- I tried loading the react component in ...
0 votes
4 answers
6k views

SPFX open new list item using modal dialog

The code below opens a new item in Iframe/modal dialog. But when the user saves or closes the modal form i would like it to be closed and not redirected to any other page. Is there any way I can ...
0 votes
1 answer
985 views

SPFx Loading Multiple Extensions in One Package

I have been unable to build a SPFx package with multiple application customizer extensions to load. No matter what I do, I can only get the first extension I created to load from the app catalog. I ...
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
0 votes
0 answers
34 views

Remove Site Collection Header from SharePoint Page

We are building an SP community site on SP2019 On-Prem. How can we remove the site collection header with its buttons for anonymous access ? I have read somewhere that this can be achieved by ...
1 vote
1 answer
97 views

How to get items data or library file link by customization button in list view command extension in SharePoint?

How can I get data of this selected item by clicking on ShortLink which is at left side of Automate button in list view command bar at the top of the list?
0 votes
0 answers
92 views

SPFX Application Customizer - Unable to add Component

I am trying to use component in SPFX Extention. Followed steps mentioned in the below link. https://nanddeepnachanblogs.com/posts/2019-04-09-using-react-components-in-spfx-extension-application-...
0 votes
1 answer
467 views

google analytics on the modern Sharepoint online site

Could you tell me please, how to insert Google Analytics on the modern Sharepoint online site? Where is the best place to store the script? Thank you!
0 votes
0 answers
29 views

Is there any way to apply field customizer to Thumbnails view?

I want to apply the field customizer to both Thumbnails view and Modern list view. Is it possible?
0 votes
0 answers
37 views

Refer term sets in dom element

I would like to load the term sets in the top placeholder dom element (react component file in innerHtml), as of now it is now referenced from react component file. // The extension should not ...
0 votes
0 answers
82 views

navigatedEvent is not triggering

When I switch between sites - Site A (eng) and Site B (polish), the navigation from term store is loading from Site A in Site B. I have called the navigatedEvent to render the navigation when ...
0 votes
0 answers
101 views

Form customizer in Document Library throws error

I have created form customizer using SPFX extension and associated it with document content type. Now, if i use document library in classic view, after uploading a document i am getting Sorry ...
0 votes
0 answers
96 views

JavaScript dropdown select redirect and localStorage clear

I have spfx extension with dropdown selection on the top placeholder which it navigates between sites so when navigating between the sites I would like clear localStorage which it clears while ...
1 vote
1 answer
183 views

SPFx extension is not loading term store properties

I have extension which uses the term store as navigation and on the other hand, I have dropdown list where it has the normal text (SiteA, SiteB, SiteC) with different SP site links on it (href). So, ...

1
2 3 4 5
7