The SharePoint Framework (SPFx) is a page and web part model that provides full support for client-side SharePoint development, easy integration with SharePoint data, and support for open source tooling.
Questions tagged [spfx]
975 questions
0
votes
1 answer
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 is failing and producing different kind of…

Mihir
- 8,696
- 18
- 56
- 87
0
votes
1 answer
How to Style Office Fabric Component with SharePont Framework module.scss
I am trying to style a VirtualizedComboBox being used in a SPFX web part. The problem is that if I use the combo box classes (ie. .ms-ComboBox-Input) as selectors within the web parts module.scss they get rendered out with the unique ID appended to…
0
votes
0 answers
SP2016 - Spfx Webpart on SP2016 FP2
I tried to build a new Webpart targeting SP16 FP2 & SP Online.
https://learn.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/build-a-hello-world-web-part
When I deploy the Package to my SP16 the App does not show up on my other…

Sebastian G.
- 26
- 1
- 4
0
votes
1 answer
routing in sharepoint framework webpart using react route? i am stuck in a sitution where i have to redirect to another page on button click.
import * as React from 'react';
import {
browserHistory
} from "react-router-dom"
import Title from './app'
**export default class TestRoute extends React.Component {
handleClick = () => {
…

prabhat katoch
- 13
- 4
0
votes
1 answer
How to Use Localized Resources in SPFx?
I have the following section defined in my config.json:
"externals": {
"jquery": {
"path": "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js",
"globalName": "jQuery"
},
"bootstrap": {
"path":…

user1477388
- 20,790
- 32
- 144
- 264
0
votes
1 answer
SharePoint Framework web part scrolling
I'm facing an issue with an SPFx web part with a large UI. When users scroll down one page and click a link which changes the page, there seems to be no way to programmatically scroll to the top of the web part. I've tried all the usual methods such…

Boyd Collins
- 1
- 2
0
votes
1 answer
Bot builder : How to enable my Bot within SPFx to recognize the user once connected
I'm trying to integrate my chat Bot in the sharepoint website. What i want in that i can recognize the current user that is using my bot (for example if the user X is connected to sharepoint and says hello, the bot replies "Hi X") because i want to…

Soufien Hajji
- 477
- 1
- 8
- 24
0
votes
1 answer
jQuery Undefined in SPFx
I have been reading various articles including this one use jquery functions within spfx webpart but I can't seem to get jQuery to work with my SPFx webpart.
My first attempt was putting the loading in the global scope:
public constructor() {
…

user1477388
- 20,790
- 32
- 144
- 264
0
votes
1 answer
Adaptive Cards don't render on Spfx when the card has more than 5 actions
Issue: Doesn't render more than five actions
Background:
I was doing an integration of the BotFramework-WebChat with SharePoint Framework and all is working fine. But, when I try to display an adaptive card with more than 5 actions inside the…

Ghad
- 3
- 1
0
votes
2 answers
SPFx REST Security Tokens
Hey SPFx devs I am encountering some issues with security tokens in a small SPA I have developed on top of the SPFx framework which interacts with data in SharePoint online.
If the app is left idle or only GET requests are performed it seems like…

Andrew
- 1
- 1
0
votes
0 answers
SPFX and Workbench IE11
I get the following error when trying to run spfx on IE 11 in workbench On-Premise
@font-face failed OpenType embedding permission check. Permission must be Installable.
File: fabricmdl2icons-2.23.ttf
webpart wont' load in IE but works good in…

Fab
- 904
- 2
- 14
- 38
0
votes
1 answer
Add new web part in Visual Studio Code project
I've created a new Sharepoint project with a HelloWorld web part using Yeoman in Visual Studio Code.
Now I want to add another web part to that project.
How do I add a web part using the same template in the src/webparts directory?

Szybki
- 1,083
- 14
- 29
0
votes
1 answer
Error While using sp-dialog with react project
I have a running tsx file that loads a ListView. The project loads fine. I ran the following command
npm install @ microsoft/sp-dialog
Then in the tsx in added the following import statement.
import { SPHttpClient } from '@…

Sree
- 1
0
votes
1 answer
SPFx react cannot read property 'shape' of undefined
Hi I am creating an SPFX weather webpart and i am getting this error:
there are no errors when i run gulp build. i am not sure how to debug my issue. this is the snippet of the proptypes.shape() where i am getting my issue:
import * as React from…

Page F.P.T
- 653
- 4
- 11
- 24
0
votes
1 answer
How do I change the page navigation links in SPFx?
I'd like to build a SharePoint Framework extension that, when active, changes the current navigation (typically the links on the left side of the page).
The current docs for SPFx Extensions don't list any hooks or methods specific to navigation in…

Eric
- 1,511
- 1
- 15
- 28