Questions tagged [react-webpart]
The react-webpart tag has no summary.
44 questions
0
votes
1
answer
73
views
Error[package-solution] No manifests were found in 'C:\Users\cloud\LP\Widget\ModernPnP\search-parts/dist'. Ensure a build has completed successfully
We are migrating SPFx web part to version 1.19.0.
gulp build --ship: Running as expected
gulp bundle --ship: Running as expected
gulp package-solution --ship: Getting issue [No manifests were found ...
0
votes
1
answer
48
views
Filter SharePoint multiselect choice column via react query
I have a column in my SharePoint list, named "Catégorie", that is a multiple choice column, where I have multiple options "Option 1", "Second Option" etc.
How should I ...
0
votes
0
answers
101
views
Property bags as site custom fields: are them accessible by webparts?
I'm trying to figure out how to setup site custom fields, to be retrieved from React webparts.
Doing some research, I've found several articles talking about Property Bags, like this one which seems ...
1
vote
1
answer
163
views
How to fetch Mail-Enable security Groups in SPFx react?
I want to show Mail-Enable security Group Names in select tag.
Can someone please tell how can I get the group names using SPFx react?
1
vote
1
answer
276
views
How to fetch data from document library in SPFX react within a very short period of time?
I am fetching data from document library which has more than 5000 items. While doing this, it takes lots of time. Is there any solution to reduce this time?
0
votes
1
answer
93
views
Bootstrap module not found in react SPFX
My node version - v16.13.0 and npm v - 8.1.0 ----- i have installed bootstrap 4 or bootstrap 5 but it gives me same error
0
votes
1
answer
524
views
I am using style attribute in React Select but its showing an error in SPFx react. Can someone please tell how to resolve this?
I am using the below code:
import Select from "react-select";
<Select
className="form-control-sm"
name="form-field-name&...
0
votes
1
answer
1k
views
how to download file from SharePoint library with static name in SPFX react?
I want to download my file with a specific name from SharePoint library using SPFX react.
<div key={index}><a download="" >{item.name}</a></div>
(I am using anchor ...
0
votes
1
answer
279
views
Getting [object object] in spfx search box value
I am working on spfx webpart which will send search value to url and append to show the results in enterprise search below is my code but every time i enter search value it always return [object ...
1
vote
0
answers
203
views
Create client instance for reuse
I was trying to set up an instance of client so I don't have to write this.context.msGraphClientFactory.getClient().then((client: MSGraphClient) every time I want to make a request.
Something which ...
1
vote
1
answer
1k
views
Building a react application with Microsoft graph and SharePoint
I’m starting a new job and been tasked with creating a react based application which will be built in SharePoint and retrieve data using Microsoft Graph. I am new to this and am struggling with ...
0
votes
1
answer
1k
views
Update input based on a radio button selection in the properties pane
I'm trying to update a input field value in the properties pane, based on a radio button selection, but its not changing.
I'm sure it'll be something simple-ish!
I've looked about but can't find a ...
1
vote
0
answers
600
views
403(Forbidden) Invalid permission error in my SPFx web part when trying to access SharePointSiteUsageDetail with MSGraph
I can GET data in Graph Explorer,but when I try in my SPFx solution it gives me an 403(Forbidden) error:
https://graph.microsoft.com/beta/reports/getSharePointSiteUsageDetail(period='D30')?$format=...
0
votes
0
answers
27
views
Having null result whenever using dom selectors in spfx webpart
Trying to get the tsx video tag duration by selecting the tsx tag through dom selectors but getting null in the console
0
votes
1
answer
582
views
Reverse the display name with split name on SharePoint Spfx
I am trying to show displayname from AAD using in my spfx but for the full name i cannot get the array of first item. I know i am missing something from below but couldn't analyse what's missing.
...