Questions tagged [spfx]

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.

975 questions
-1
votes
1 answer

Can i read uploaded excel sheet file and loop through its items to update a SharePoint site column choices inside our SPFx

We have the following Panel to manually add/delete choices inside a SharePoint column named Category:- and here is the related .tsx code for the above Panel:- import * as React from "react"; import { Stack, ProgressIndicator, Panel, …
John John
  • 1
  • 72
  • 238
  • 501
-1
votes
1 answer

Get a specific list item with SPFX and PNP/JS and show it in SharePoint Online Webpart/Widget

I want to read the values of a specific list element by ID and show it on a SharePoint site. The problem is that I tried to use the PNP Framework, but some of the components are not working any longer. Here is my code so far. I hope you can help…
Matthias
  • 9
  • 1
  • 6
-1
votes
1 answer

Operation returned an invalid status code 'Forbidden' for Azure function

I have create an Azure Function and trying to Authenticate by Azure Key Vaults and certificate In my Azure function I wrote a code to save the data into SharePoint List (Online),it is working fine in Localhost data is getting save by service account…
-1
votes
1 answer

SPFx web part's CSS applies to it but not to rest of page?

(SharePoint online, SPFx, modern website) My end goal is this : I want to customize some visual aspects of a SharePoint page (title, left nav bar, fonts, etc.) I want it to happen only on one page The solution I chose for that was to create a SPFx…
jeancallisti
  • 1,046
  • 1
  • 11
  • 21
-1
votes
1 answer

SPFX with function app backend CORS restrictions when using AAD

I have a backend with some azure functions, and due to some new frontend using the same backend, I am now having trouble accessing the app due to cors restrictions. Below are images of the settings in azure. Azure Function CORS settings Azure auth…
Dino
  • 11
  • 4
-1
votes
1 answer

How to customize sharepoint online mega menu

enter image description hereI have implemented megamenu in share point online pages. How to add a background color to mega menu?
-1
votes
1 answer

How to apply a specific theme to fluent ui control?

I am developing a spfx solution in which a specific theme to be applied to a office ui fabric control.
-1
votes
1 answer

Access denied error in Azure devops CI CD deployment

Below are the detailed steps which i am performing for CI CD created pipeline to create spkg.sppkg its successful now in release i am doing below steps Connect to SharePoint App Catalog (Successful) o365 login…
kumar
  • 59
  • 1
  • 8
-1
votes
2 answers

Using Spfx React-Application-Injectcss extension (link in des) to hide left side navigation on one particular site

I've built and applied this extension react-application-injectcss(https://github.com/pnp/sp-dev-fx-extensions/tree/master/samples/react-application-injectcss) but it applies on all sites in my tenancy. Can I hardcode site name of a particular site…
-1
votes
1 answer

SharePoint Modern Page does not load properly

After creating a modern site page in the modern team site, adding the OOTB web parts in the page, publishing that page then page goes blank. After refreshing some time it does show and sometimes it don't. This same problem occurs while adding the…
-1
votes
1 answer

Why is this function logging undefined when calling it?

I have a retrieved array of files that have been filtered and put into state. I can display the files using this:
{file.FileLeafRef}
)} onRenderCell={this._onRenderCellFiles} /> and…
NightTom
  • 418
  • 15
  • 37
-1
votes
2 answers

SPFX PNP ListView fails to load on page if it is hided and showed back again on the Modern page

I have List View which i placed in the render part, page load i am hiding it via j query inside a div and when i show it back no data appears on it, but if i click on Developer tools it starts appearing or if i change the resolution of the screen it…
-1
votes
1 answer

Item count in Sharepoint list using spfx

I need the count of Status column in Sharepoint list. I have used React as the mode in spfx. @autobind private async _loadAsyncData(): Promise { const items: any[] = await…
-1
votes
1 answer

How to add menu items for a single-page web part?

Is it possible to have menu items added for a single-page web part in the menu bar? I want to add a menu to the area usually used for menu commands (please see the screenshot): I am talking about this sort of single-page app web part:…
Nikolay
  • 10,752
  • 2
  • 23
  • 51
-1
votes
1 answer

Can I get the data from database that makes an API call then pass it to another function that makes an another API call

In react, I want to get data from a database. I attempted to get the data from database using getCoor() and put in the constructor method. I defined variable private data:any=[]; and defined a state, this.state={data:[]} Here I am trying to Get…
Random I.T
  • 121
  • 1
  • 10
1 2 3
64
65