985 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
0
answers
94
views
SPFx – Error using ClientsidePageFromFile: "Cannot set properties of undefined (setting 'sectionFactor')
I’m working on an SPFx webpart that loads modern SharePoint pages and reads webpart properties.
For normal pages, I am using:
import { ClientsidePageFromFile } from "@pnp/sp/clientside-pages"...
-1
votes
0
answers
61
views
PrimeReact <Chips> adds the chip after typing only ONE character in Microsoft Teams (SPFx React App)
I am using PrimeReact in an SPFx React application that runs inside Microsoft Teams.
The component behaves normally in a browser, but inside Teams it automatically adds a chip after typing just one ...
0
votes
0
answers
19
views
How can we retrieve the flows associated with a specific list from the current site?
We have developed a SharePoint Framework (SPFx) application for customizations and are using @pnp/sp to perform GET/POST operations on SharePoint lists.
Our system sends email notifications through ...
0
votes
0
answers
33
views
How to reuse an existing SPFx WebPart inside another SPFx solution without copying or moving the code?
I have two separate SPFx solutions:
Timesheet WebPart → already deployed and working on one SharePoint page
HRMS WebPart → a completely separate SPFx project used on another page
The Timesheet ...
0
votes
1
answer
65
views
How to integrate Vue.js 3 with SPFx 1.21.1?
I'm trying to develop my first SPFx (1.21.1) web part using Vue (3.5.22) without success. This is my package.json:
{
"name": "spfx",
"version": "0.0.1",
&...
0
votes
1
answer
114
views
How to get total item count of filtered items from sharepoint list using PnP js
I want to implement pagination in my spfx webpart to show filtered list items. My list is having more than 5000 items, the filtered items may or may not be more than 5000. On each page i want to show ...
0
votes
0
answers
93
views
My SPFX ListView Command Set Not Showing in Microsoft Teams but Visible in SharePoint Online
I have developed a SharePoint Framework (SPFx) ListView Command Set extension that works perfectly in SharePoint Online. However, when I access the same list via Microsoft Teams, the command set does ...
0
votes
1
answer
117
views
Fluent UI React v9 Button TypeScript errors in SPFx 1.21.1 with React 17 & TypeScript 5.3
I’m trying to use Fluent UI React v9 controls in a SharePoint Framework (SPFx) 1.21.1 web part, but I’m running into multiple TypeScript errors and cannot get even a single control to render.
Here are ...
2
votes
0
answers
139
views
How to hide Command bar in Sharepoint using SPFX Extension without CSS injection?
I know there are similar questions on the Internet. But none of it have the solution that I am looking for.
I want to hide few action buttons (New, Edit in Grid View, Add shortcut to OneDrive, Pin to ...
0
votes
0
answers
93
views
SPFx - Styles not being applied in newest version of SPFx 1.21 despite upgrading to SPFx 1.21.1
Upon creating a new project scaffolded with the yo generator using the recommended SPFx 1.21.1, Visual Studio flags an error about not finding the stylesheet. I am using the correct Node.js LTS ...
0
votes
0
answers
37
views
PrimeReact Editor adds unnecessary space while change the content
We have created SPFx React solution. We have used PrimeReact library in that project.
We have used the Editor component from PrimeReact library.
The editor works with initial data which passed on ...
0
votes
0
answers
33
views
Determine if a user has previously opened / viewed a file
I am using spfx v.1.21, and pnp/sp v.4.15
I have created a webpart to display contents of a library in a custom way.
Is there a property I can read or some other way I can determine if the user / ...
0
votes
0
answers
60
views
Images from the SPFx Web Part assets folder are not loading
We have created SPFx with React project. We have used SPFx version 1.21.1
We have created one component to that project. Below is the code for the same,
import * as React from 'react'
const ...
0
votes
0
answers
22
views
PowerShell run task after Yeoman SharePoint Generator
I try to create a PowerShell script doing other things after creating a new spfx project with the Yeoman SharePoint Generator.
The code for Yeoman is:
yo @microsoft/sharepoint --component-type "...
0
votes
1
answer
303
views
SPFX development error after building the project:
[14:26:22] Error - 'spfx-serve' sub task errored after 199 ms No development certificate found. Generate a new certificate manually, or set the canGenerateNewCertificate parameter to true when ...