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. With the SharePoint Framework, you can use modern web technologies and tools in your preferred development environment to build productive experiences and apps that are responsive and mobile-ready from day one.
Questions tagged [sharepointframework]
101 questions
5
votes
0 answers
AadHttpClient fails to retrieve data from an Azure Function secured with AAD
I'm attempting to retrieve some data from a custom Azure Function written in C#
[EnableCors]
[FunctionName("Authenticate")]
public static IActionResult Run([HttpTrigger(AuthorizationLevel.Anonymous, "get")]HttpRequestMessage req, TraceWriter log)
{
…

Morgan Thrapp
- 9,748
- 3
- 46
- 67
3
votes
1 answer
Get Or Reading Data Taxonomy Term Store Sharepoint
I create web part with share point framework "no JavaScript framework" my code with TypeScript I have problem, I will get, or reading data taxonomy term store share point.
And my code in image
Question: how to declare variable "SP" in my code?…

Syaiful Amir
- 33
- 4
2
votes
0 answers
CKeditor multiple version conflict in SPFX Accordion Webpart on Modern Sharepoint Online page
I have built an accordion spfx webpart for our Modern Sharepoint site where I am consuming CKeditor version 4.13.0 (Full) CDN version to add Rich text for each accordion tab when the page is in edit mode. It is working perfectly with all the plugins…

Nova
- 56
- 4
2
votes
1 answer
Office Fabric in SharePoint Framework: how to disable icon warnings?
I created Context Menu button in Document library (not web part) that displays some info using 'office-ui-fabric-react' library.
The problem is when I open my SharePoint Online page and my extension loads, I get millions of console warnings.
I…

Analytick
- 21
- 1
- 3
2
votes
2 answers
SP.ListOperation.Selection.getSelectedItems() and Sharepoint Framework
Does SharePoint framework have its own way of getting selected items from a list or do we still need to use SP.ListOperation.Selection.getSelectedItems()?
If latter, how do I make it available in a Typescript/spfx solution?

Rune
- 381
- 1
- 3
- 14
1
vote
0 answers
How to build SPFX Web Part with Angular CLI Elements
When using gulp serve - Getting errors like
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file.
I am trying to…

Balaji Murugaiyan
- 11
- 3
1
vote
1 answer
Enable the "Make "New Folder" command available?" option with Sharepoint using @pnp/sp
I need to create folder under Site Pages library under SharePoint Online site.
I have tried to create the folder programmatically using @pnp/sp library. But it thrown me Access Denied error.
New Folder option is missing while click on New. Please…

Bhoomesh Joshi
- 89
- 1
- 1
- 5
1
vote
1 answer
SPFx Extension Application Customizer Not Displaying React Component From TSX File
I am developing a SharePoint Framework Extension to display a chatbot in SharePoint. While there are Github Repos that have code for this, they are all on old versions of the framework. I am trying to create this in the latest version.
I have…

langsky
- 11
- 1
1
vote
0 answers
How to bind data based on web part added in section?
I have created a SharePoint Framework web part.
I have dynamically bound boxes under that web part.
I have added that web part to SharePoint modern page one-third right section.
Below is the screenshot of the page section layout.
I need to bind…

thedeepponkiya
- 97
- 1
- 11
1
vote
0 answers
How to clear selected options from react select?
I have implemented react select in my SPFx react project.
Below is the reference link for the react select control,
https://react-select.com/home
Below is the code snippet of the react select control.
1
vote
0 answers
How to publish SharePoint Framework application to the Marketplace?
I have created SharePoint Framework application. I need to publish that application to the SharePoint Marketplace.
I have refereed below link for the same,
https://learn.microsoft.com/en-us/sharepoint/dev/spfx/publish-to-marketplace-checklist
Can…

Bhoomesh Joshi
- 89
- 1
- 1
- 5
1
vote
0 answers
Remove Toolbar and Footer from @mui/x-data-grid while export pdf
I have created data grid using @mui/x-data-grid.
Below is my code snippet,

Bhoomesh Joshi
- 89
- 1
- 1
- 5
1
vote
0 answers
SPFx React Application Crash/Freezes Browser while Add on SharePoint Page
I have created a web part using SPFx React. Below is my package
"@material-ui/core": "^4.12.4",
"@material-ui/icons": "^4.11.3",
"@microsoft/sp-core-library": "1.14.0",
"@microsoft/sp-lodash-subset": "1.14.0",
…

Bhoomesh Joshi
- 89
- 1
- 1
- 5
1
vote
0 answers
How to add SPFx webpart to page in SharePoint online sub-sites?
I have created the SPFx web part for custom development in SharePoint online modern site.
I have created multiple subsites under one site collection. I need to add the SPFx web part to all sub-sites.
I have tried to save a template of one site but…

thedeepponkiya
- 97
- 1
- 11
1
vote
0 answers
How to integrate react font awesome icon picker in PropertyFieldCollectionData control in SPFx?
I have created SharePoint Framework web part in SharePoint online. I have integrated PropertyFieldCollectionData in that web part. Below is the link for the…

thedeepponkiya
- 97
- 1
- 11