Stack Exchange Network

Stack Exchange network consists of 174 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
Make your voice heard. Take the 2019 Developer Survey now

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.

0
votes
1answer
9 views

Getting Teams Context information in SharePoint Framework extensions

With SPFx 1.7 preview release, I know we can access Teams Context information in SharePoint Framework web part but not from SharePoint Framework extensions. I looked at ApplicationCustomizerContext ...
1
vote
1answer
49 views

Failed to execute 'json' on 'Response': body stream is locked

I am following this article and get the following error in the console.log Uncaught (in promise) TypeError: Failed to execute 'json' on 'Response': body stream is locked at e.json (sp-pages-...
0
votes
1answer
37 views

A service principal with the name User Details Custom API for SPFx

I am consuming an Azure API app in a SharePoint Online react app. I am following this article. But when I try to approve the app permissions on the API management page (SharePoint admin centre). I ...
3
votes
1answer
36 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 ...
0
votes
0answers
14 views

Sharepoint SPFx active toggle in list view

I'm new with SharePoint Framework and I want to achieve something like this: Github - React Field Toggle This solution is for SPFx v1.3 and in my environment (SharePoint Online) it's not working even ...
0
votes
1answer
33 views

Spfx breadcrumb not working on modern team site

I am using the following breadcrum sample. I have deployed the latter to app catalog and it works fine in a developer site with modern pages/library but it doesn't work in a modern team site.
0
votes
1answer
54 views

Using Office Fabric UI icons in a SPFx extension

I want to add an icon to one of my buttons on my SPFx list extension. In the JSON, I can amend this for an url for an icon to my CDN, but how about if I just want to use office fabric UI, any ideas? "...
0
votes
1answer
30 views

How to get list of spfx extensions available for my SharePoint online tenant

Very happy new year to all. As i am working on modern experience. I was going through the Microsoft road map. there i found that they have rolling out some of new extensions. How can i check that is ...
4
votes
1answer
133 views

Does Virus affected Node Modules transfer in Contents of SPFx deployment package

When we scaffold an SPFx webpart/Extension we get many Node Modules as part of dependencies. These can be seen in node_modules folder and there are also entries in package-lock.json file. I know ...
0
votes
0answers
24 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 ...
1
vote
1answer
32 views

SPFX how to add a readonly field to a Content Type [closed]

I need to create a List with an asset package with spfx. The list must contains 10 Columns that can not be edited by users but will be modified by buttons added with an spfx extension. How can I do ...
2
votes
1answer
15 views

Trouble getting SPFx up and running on Ubuntu

I'm having trouble getting SPFx up and running on Ubuntu. I'm using the following commands sudo apt-get install nodejs -y sudo apt-get update -y sudo apt-get install build-essential -y sudo npm ...
0
votes
1answer
26 views

How to implement google translate in SPFx extension in SharePoint Online?

We were using google translate API in our SharePoint Online classic view site. Now we are moving to modern site. I need to implement same in SPFx extension. Below is code to that is working in ...
1
vote
1answer
29 views

Terminate batch job in SPFx

In spfx, If we press 'ctrl+c' during any continue process then display a message 'Terminate batch job (Y/N)?' you press Y for yes and N fro No, but both the case y and N terminate the batch job. so it ...
1
vote
3answers
158 views

SPFx Deployment - Failing Gulp package-solution — ship

Update: I was aiming for extenal CDN and I uploaded the artifacts successfully after setting "includeClientSideAssets": false. Still even after adding my app in app Catalog with no error, adding the ...
2
votes
1answer
49 views

SharePoint Framework Extension : Custom Action not activated on site even after successful deployment in AppCatlog

[Screen Shot for the App Catlog ] Hello everyone, I deployed a SharePoint Framework Extension in the App Catalog for my office 365 CDN. Although in the App Catalog it shows successfully deployed, ...
0
votes
2answers
156 views

Error when using MSGraphClient

Today I tested some of my apps created with SharePoint framework and they started to show a errors in the webparts and extensions that use MSGraphClient. Before it was working normally. I am ...
0
votes
1answer
33 views

How to make SharePoint Extension available for external users?

I need my SharePoint extension (.sppkg) that runs in New Experience mode to be available for external SharePoint users. Is it possible to achieve?
0
votes
1answer
40 views

How to store setting for SharePoint Extension (sppkg)?

I need to store site setting for new type of SharePoint extensions (spfx, .sppkg file). Are there any special approach to do this? Here is what I need to store: Store settings that user can not see ...
1
vote
1answer
107 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 ...
0
votes
0answers
30 views

is there property called ''pdfConversionUrl' in sharepoint extension

I found pdf conversion url like this https://northeurope1-mediap.svc.ms/transform/pdf?provider=spo&inputFormat=docx&cs=fFNQTw&docid=https%3A%2F%2Fdenterprise.sharepoint.com%3A443%2F_api%...
0
votes
1answer
133 views

Issue with ListView Command set custom action | spfx

I have implemented a simple listview command set and added one button which is enabled when one item in a list is selected ( Similar to Command_1 example Here) While its working as expected on my ...
0
votes
1answer
82 views

How to know if 'ms-CommandBar' component has been loaded using SPFX extensions

I would like to hide the above commandbar in all pages using javascript in spfx extensions(application customizer). I have tried the below code @override public onInit(): Promise<void> { ...
0
votes
1answer
149 views

How to load the external CSS first in SPFX Extension before the web parts renders

We are loading a custom CSS using SPComponentLoader in SPFX Extension. We are using those styles in other web parts. But while the page loads the ui is not coming properly as the Custom CSS loads ...
1
vote
1answer
18 views

What is the timeline to fix the known bug with list and library extension support in the classic experience?

I have a working SharePoint Framework extension but I need it to work across 200 classic sites that use the modern library experience. However, according to the overview for extensions: There is ...
1
vote
1answer
132 views

Can I use a SPFX ListView Command Extension to copy files from another library?

I'm looking at using the ListView Command SharePoint Framework Extension on a SharePoint document library. Essentially all it will do is have one command called "New Project". On selecting the ...
1
vote
1answer
118 views

Enable SPFx extension on a document based on specific content type

Can we enable SPFx extension on a document created based on a specific content type. I want to enable (make visible) ListViewCommandSet.CommandBar based on the document of certain content type ...
1
vote
1answer
116 views

Using Commandbar from Office UI Fabric React v6.47.2 for SP Starter Kit

I am currently refactoring some parts of the SP-Starter kit so as part of this, I am creating new solutions and manually adding code from the starter kit over to my solutions. Since I am creating ...
0
votes
0answers
29 views

SharePoint Online [Modern]: How can we manipulate existing commands, like commands “New”, or “Upload”

I know that the custom commands can be added via SPF extensions. However, I didn't find any information on how can we manipulate existing commands, like dropdown options for commands "New" or "Upload",...
1
vote
2answers
137 views

Add SPFx app to a SharePoint site via REST or CSOM

I have 300 Subsites and want to add my custom SPFx Extension to all those subsites. Manually I know how to achieve that. I just go to site contents and add my app. But I want to solve this ...
1
vote
1answer
158 views

How can I save data from Sharepoint Extension?

I am currently creating a SharePoint extension (with spfx), At the first lauch of the extension, I have one registration form (7 input, type string). How can I save this data on the sharepoint site ...
0
votes
0answers
49 views

Is it possible to get custom button on a modern sitepage

Is it possible to make a button on a SitePage? Is i've tried using ListView Command Set extension with SPFX, but it doesn't seem to work
0
votes
0answers
95 views

Group SPFx Commands - Command set extension

I'm creating SPFx command set extensions for my application. It has set of commands which I would like to group under single menu. Like we see in "Open", "New", "Flow" commands Any help would be ...
2
votes
1answer
125 views

SPFx Field Customizer: Customization does not appear if document library is is within a webPart

I finally made my field customizer work in SharePoint online. It provides a URL field with modified link based on other item metadata. It creates a custom view which shows the new column provided by ...
3
votes
2answers
121 views

SharePoint Online SPFx Apps: Why use a CDN for assets, why not simply use the SiteAssets library?

Why do the SPFx tutorials configure a library or a folder in an library as a CDN to host assets like scripts, images etc? I mean what is the technical difference to hosting the assets in the ...
1
vote
0answers
118 views

SPFx Field Customizer deployment: main js not loaded from CDN in SharePoint Online

I try to deploy my first Field Customizer app to a SharePoint online tenant. Tried several things, without CDN and with bundled assets, now using a CDN (which I previously configured with the ...
2
votes
1answer
85 views

SPFX Field Customizer: how to get full path of document in document library?

I am creating a Field Customizer to display a hyperlink in a column in a document library view following this tutorial: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/...
2
votes
1answer
108 views

SPFx extension unrelated ApplicationCustomizerContext type tsc error

I have encountered dificulties using the ApplicationCustomizerContext type and the TypesSript 1) I have created a spfx application customizer 2) I have added in the application customizer main ts ...
2
votes
0answers
239 views

Using Custom JS in SPFX (SharePoint Online Modern Sites)

I have created a footer using custom js which fetches all the terms inside the termstore and displays it in the footer for the page and I have referenced the custom js and css files in the custom ...
3
votes
1answer
146 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 ...
1
vote
1answer
219 views

SPFx v1.5 building Extension and WebPart as single solution

I recently updated my SPFx framework to v1.5.0 and I wanted to create a solution that has both Extensions (Application Customizer) and Client Side Webparts. Now if I try creating a WebPart first and ...
0
votes
0answers
104 views

SPFx extension commandbar ellipsis callout

How do I make the "show more" ellipsis display a call out with sub-menu items? It only shows the header of the menu item, but not its sub-menu items? http://jsbin.com/mapebawapa/ I want the "...
1
vote
1answer
114 views

How to find a list or log of all site collections with SPFX extension deployed?

We deployed a spfx extension (Add-PnPCustomAction Location "ClientSideExtension.ApplicationCustomizer" ) to multiple site collections manually, is there a way to use powershell to pull extensions and ...
0
votes
0answers
100 views

Add tooltips for custom commands to List Items’ context menu

we are using SharePoint Framework Extensions: Command Set to add custom commands to contextual menu and toolbar. There are no issue to add commands whereas we faced an issue how to add tooltips to ...
0
votes
0answers
55 views

SPFx solution is giving error while cleaning the solution

I have created a SharePoint extension with SPFx framework. initially I ran the solution and it is working fine. But in second run I want to clean the solution. So I executed gulp clean command, but it ...
0
votes
1answer
48 views

How to set the command buttons on ECB menu for multiple List templates in SharePoint newlook using SPFX

I have created spfx addin which will displays the command text on the SharePoint custom list. But i want that it should be displays in all the different SharePoint list templates for e.g Document ...
3
votes
2answers
217 views

Load SPFX webparts only after application customizer init method is completed ?

I have some webparts who have dependency of data which is obtained from application customizer. Is it possible to load webparts after application customizer
0
votes
0answers
54 views

SPFx on a Team Site Homepage Cannot Get Taxonomy Data

I have an SPFx webpart and an SPFx extensions that getting data from Taxonomy Term Store. Both of them are working well on all pages (Site Content page, Library page, Site page, etc.) except on a ...
2
votes
1answer
300 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 ...
0
votes
1answer
283 views

Apply theme in SharePoint Online using REST api or PNP JS

I am looking for a solution to apply existing theme in SharePoint Modern Site using code.