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
Yeoman Sharepoint Client-side Solution Generator stops taking input
I'm trying to install Sharepoint Client-side Solution using Yeoman but running into difficulties.
I can't get passed the 4th question, it doesn't accept any input so I can't answer it.
Versions
node v8.1.0
yo v2.0.0
gulp…

patko
- 75
- 6
0
votes
1 answer
TypeScript error will not satisfy
I'm using TypeScript 2.5.2.
I have tried downgrading to TypeScript 2.2.2, which the same code has worked on another project.
**Error:
file: Weather.tsx'
severity: 'Error'
message:
'Argument of type '(response: IListItem) => void' is not assignable…

JoshYates1980
- 3,476
- 2
- 36
- 57
0
votes
2 answers
Yeoman SharePoint Framework webpart generator error
I'm new to Yeoman so any help would really be useful.
When attempting to use the Yeoman SharePoint Framework webpart generator I get the following error:
events.js:160
throw er; // Unhandled 'error' event
^
Error: Cannot find…

whatsgoingon
- 1
- 1
- 2
0
votes
2 answers
Call typescript function from onclick
I created a SharePoint Framework Webpart.
I call a webservice that returns some data from sharepoint (terms from termstore), and for each term i generate an html that display the term. On the onclick of each term i want to call a typescript…

Jeff
- 83
- 1
- 7
0
votes
1 answer
SPFx Retrieve versions (append only comments) of List Item
I am trying to build an SPFx webpart for a list containing a V3Comments field, with append only comments set. As far as I understand REST and SP-PNP-JS doesn't support it.
I read that the SharePoint list web service supports GetVersionCollection. I…

Dennis Kuhn
- 239
- 3
- 10
0
votes
3 answers
After running command "npm i" I started getting multiple error
I am facing this issue after I ran npm i command by following THIS THREAD. Now when I am trying to install various dependency for my project, I am getting bunch of errors:
λ npm install -g
npm WARN
…

DvG
- 634
- 5
- 10
0
votes
2 answers
TypeScript/SPFx Promises throws Exception("Cannot read property 'then' of undefined") but seems to work
I try to create an SPFx Webpart. Before I can create a new Item, I need to call 0-4 times _ensureUser, depending if any combination of Client, AssignedTo, ResolvedBy and Referrer has been set. When all required _ensureUser calls are done, then the…

Dennis Kuhn
- 239
- 3
- 10
-1
votes
2 answers
How to check using If else condition in render function to print friendly values
how to check the condition in render function to print friendly names
example if (value =101) then "some text ", else if (value = 102) then "Another text" etc
Please check the code below what I am trying.
public render():…

kmurali krishna
- 17
- 6
-1
votes
1 answer
color a row in Details list in reach fluent UI
How can i dynamically color a row if the value is greater than 100 and less than 1000.
here is my code

user388969
- 337
- 1
- 9
- 30
-1
votes
1 answer
Creating a button in Sharepoint
I'm working for an IT comapny and I got a task that I have to finish in short time.
Basically I have to create a button on a sharepoint site, this button needs to fetch the users Credentials (name and email) and paste them into an excel sheet on…
-1
votes
1 answer
Autodesk Forge Viewer in Sharepoint just shows black models
For our current project, we integrated the Forge viewer into Sharepoint following this tutorial. (https://aps.autodesk.com/blog/sharepoint-online-integration)
We then set up the project in React using this…

flokess
- 1
-1
votes
1 answer
SPFX- Can not run gulp ser for the first time
I face this issue when I run gulp serve for the first time :
Error: Cannot find module '@rushstack/module-minifier-plugin'
Plz help me, Thanks!
-1
votes
1 answer
Error - [package-solution] No manifests were found
I am building an application customizer for our SharePoint online site, but i keep getting this error:-
Error - [package-solution] No manifests were found in 'D:/extensionForFullstack/extension-for-fullstack/release/manifests'. Ensure a build has…

John John
- 1
- 72
- 238
- 501
-1
votes
1 answer
"Which type of client-side component to create?" is missing "Extension"
I am using Node.js 14.18.1 (x64) and npm.
When i run D:\extensionfullstack>yo @microsoft/sharepoint I got this :-
D:\>cd D:\extensionfullstack
D:\extensionfullstack>yo @microsoft/sharepoint
_-----_ ╭──────────────────────────╮
| …

John John
- 1
- 72
- 238
- 501
-1
votes
1 answer
Upload the dropped file inside Read DropZone to SharePoint online document library inside SPFX
I am building an SPFx web part inside our SharePoint Online tenant, where we have a react dropzone, to upload a file, which should automatically get uploaded to SharePoint document library:-
Here is my Service:-
// Uploads a dropped excel sheet to…

John John
- 1
- 72
- 238
- 501