Questions tagged [sharepointframework]

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.

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) { …
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?…
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…
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…
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…
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…
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…
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.