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 [spfx-tooling]

Technical questions about the development tooling for the SharePoint Framework client-side development model.

2
votes
2answers
386 views

SharePoint Framework onchange method not called

I'm new to SPFx and doing this plain Javascript web part to kick off things but have hit a read block. I can't seem to figure out on how to properly call the oncahnge method on a search input: <...
3
votes
1answer
453 views

SPFX and react-router

I'm having trouble getting react-router working on my SharePoint Web Part with React and TypeScript. I have tried react-router as a standalone webapp and it works fine. Just can't get it working on ...
3
votes
1answer
61 views

After drop two of the SharePoint SPFx Framework came out on Friday. I get error cannot find module gulp-core-build

After drop two of the SharePoint SPFx Framework came out on Friday. (https://github.com/SharePoint/sp-dev-docs/wiki/Release-Notes-Drop-2) ... I followed the instructions to upgrade my webpart so:- ...
2
votes
1answer
27 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 ...
2
votes
1answer
144 views

View SPO Modern list in SPFX

I'd like to ask if its possible to achieve something like this -> https://collab365.community/create-manage-sharepoint-list-teams-tab/?fbclid=IwAR0FhFIvH9S51ZNvJbcR_dtFzl0Xe2zljyNP-...
2
votes
1answer
366 views

Display SPFx Application Extension differently in Read/Edit mode of a Site Page

Question: Is there a utility built into SPFx or a React library to change what to render based on if the page is in read or edit mode? Or more exactly, a way to switch the rendering when switching ...
2
votes
1answer
119 views

Invalid SharePoint App package spfx

I'm trying to deploy my spfx app to the app catalog and after I upload it it appears in the app catalog in the 'Unavailable Apps' view with the Error message : Invalid SharePoint App package. Error:...
2
votes
1answer
440 views

SPFx breakpoints and debugging from Visual Studio Code instead from Chrome

I am trying to find a way to debug my local SPFx workbench from Visual Studio Code instead from Chrome, but I could not find any guides on how to attach the Chrome to Visual Studio Code and hit a ...
1
vote
1answer
41 views

How can I create webpack package of SharePoint online for react App?

I can create package of react app for SharePoint online by using "gulp serve" and "gulp package-solution" commands. However, I want to create package by using Webpack. How can I achieve this?
1
vote
1answer
189 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 ...
1
vote
1answer
316 views

Error when displaying HelloWorld web part in tenant workbench

My HelloWorld web part works fine in my localhost workbench. On my tenant workbench, I can add the web part but then I get the attached error instead of displaying it.
1
vote
1answer
97 views

Package MS Flow with SPFx app

I have created an SPFx app with below artifacts A custom list A content Type Site Columns MS Flows on custom list. i want to package my MS Flows along with SPFX app. But i don't have any clue how to ...
1
vote
1answer
177 views

React.js code structure question

I have a question which hope you might be able to help me with. If I was to create a custom class class 'SPList', and on my componentDidMount function or the constructor. I was to call a REST ...
1
vote
1answer
224 views

Tutorial 4 of SharePoint SPFx Tutorials Azure Instructions Unclear

The Instructions in Tutorial 4 of the SharePoint SPFx Tutorials are unclear in terms of what is required from Azure. Instructions for creating Storage account name, Blob Container Name and Storage ...
0
votes
1answer
115 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 ...
0
votes
1answer
133 views

Mismatch in SPFX ListviewCommandSet buttons visibility in modern Document Library

When I set the visibility of the the custom button, It should be applicable at both places (ContextMenu + CommandBar). I am having 2 buttons (Add Fav + Remove Fav). Based on few conditions, i am ...
0
votes
1answer
264 views

Access denied in Workbench.aspx

I downloaded the workbench.aspx file and uploaded to office 365 SharePoint Online Developer site under "Documents" document library. When I try to open the same, I page does not load correctly (I do ...
-1
votes
1answer
57 views

Hosting client-side web part from Office 365 CDN

Get-SPOTenantCdnOrigins -CdnType Public commands in Powershell gives me the following result: Public CDN enabled locations: */MASTERPAGE */STYLE LIBRARY */CLIENTSIDEASSETS It works fine in localhost ...
3
votes
0answers
316 views

SharePoint Framework error : Resource “jquery” not found in loader configuration of manifest for component

I know that this question has already been there, but am raising it because after trying all blogs issue did not get resolved. Am trying to load non-AMD module having dependency on AMD module. Since ...
3
votes
0answers
607 views

SPFx Custom Property Pane save property save

When building a SharePoint Framework web part - How to Save Custom Property Pane value? I have created a multiselect field for Property Pane, but not able to retain the values when refresh the page. ...
2
votes
0answers
205 views

Webpart built using latest spfx version not working on the classic site

I have built an angular 1.x webpart application using the spfx 1.4 version. The webpart works in the modern sites pages but is not working on the classic site pages and I am getting the following ...
2
votes
0answers
205 views

Adding a webpart to existing spfx solution via yeoman generates error

When I run the following commands to create a sharepoint framework solution, change directory to the new solution and then add a second web part to the solution... yo @microsoft/sharepoint --...
2
votes
0answers
289 views

Error 4048 when trying to install Yeoman SharePoint generator

After running the following command: npm install -g @microsoft/generator-sharepoint For some reason, it wants to rename "generator-sharepoint-77d8330f" to "generator-sharepoint" and it fails when ...
2
votes
0answers
73 views

SPFx development with Reactide, instead of the SPFx Workbench?

Before I spend more time on this to evaluate how this tools stacks up to the SPFx Workbench.. Question: Is anyone else following, or tried to use Reactide with SPFx? source: https://github.com/...
1
vote
0answers
3k views

How to connect Azure DevOps in Visual Studio code

I have been able to do this with a bit of trial and error but I could do with a bit of clarification before I explain this to anyone in my team as I am still a bit confused ! I have a local repo dir ...
1
vote
0answers
153 views

upgrading from microsoft sharepoint yeoman 1.3.4 to 1.4.0 cause code to stop working

I have tried to upgrade a SPFx project from Yeoman 1.3.4 to 1.4.0 as a result of this React is upgraded from version 14 to version 15.6. As a result my code has gone from working to not working :- ...
1
vote
0answers
204 views

SPFx section layouts

Currently I have an issue building an SPFx solution where I'd like to create a two-column proportional section that is full-width in a modern page. With the tools currently available to me, all I can ...
1
vote
0answers
63 views

SharePoint Framework: How to debug which dependencies are pulled into the package?

In a SharePoint Framework web part I'm using Office UI Fabric JS which works well - in the local workbench. But as soon as I deploy the web part to Office 365 some styles are missing. Now I'm asking ...
1
vote
0answers
329 views

SASS/SCSS sourcemap on sharepoint framework webpack

Is there any way load the sass/scss file as the sourceMap in dev mode? I understand that sharepoint framework is using webpack which transpiles all sass/scss files into css then render it within the &...
1
vote
0answers
108 views

TS5005 When trying to run a SharePoint SPFx webpart from Visual Studio 2015

I get an error when I hit F5 when running a SharePoint SPFx web part in Visual Studio 2015 SP3 but everything works successfully when I use Visual Studio Code :- Error TS5055 Cannot write file '...
0
votes
0answers
55 views

SPFx extension samples not showing

I've tried several samples SPFx extensions. All samples have the same outcome when it comes to testing (gulp serve) after following the instructions on the samples page. Most of them just require ...
0
votes
0answers
205 views

Spfx webpart on Classic pages with custom master page not working

I have an angular 1.x webpart application which is built using the spfx 1.4 version. The webpart works in the modern sites pages but is not working on the classic site pages with custom master page. ...
0
votes
0answers
868 views

Local gulp not found

I am new to SpFx and this might be very much basic question. I have followed instruction mentioned in below page and when I ran "gulp serve" command I got an error which says "Local gulp not found" ...
0
votes
0answers
65 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 ...
0
votes
0answers
186 views

How to reference strings.js in SPfX? (Uncaught TypeError: Cannot read property 'STS' of undefined)

I am trying to migrate my code from Classic experience to SPfX. My code is using the SP.UI.ModalDialog, and I have referenced successfully the MicrosoftAjax.js, SP.Runtime.js and the SP.js files in ...
0
votes
0answers
2k views

cannot find module (typescript)

I am running an easy Sharepoint Framework project in Visual Studio Code: I have this structure: My files are as follows: ComplexCalculator.ts export class ComplexCalculator { public sqr(v1: ...