All Questions
Tagged with react-webpart react
9 questions
0
votes
1
answer
19
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
50
views
Cannot Install React-Birthday Sample Webpart
I'm trying to install React-Birthday webpart from Github repository sample webparts but facing issue when running npm i.
Things I've tried:
I tried to remove node_modules, clear cache, install npm ...
0
votes
0
answers
77
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
285
views
Hide table column from property pane (WebPart)
I am still new into the WebPart development so bare with me:
I have created a WebPart consisting of table and I have several toggles in the settings that can show hide a column in the table. Somehow I ...
0
votes
1
answer
845
views
Using PnPJS Library to display list of data
I'm building a SPFX React webpart. I currently have the webpart on my SharePoint site's workbench page.
Here is the code that I'm currently using:
private _renderListAsync(): void {
// Local ...
1
vote
1
answer
2k
views
Migrate Current React JS Project to Run in Sharepoint
Our team has created a React SPA that is js based as opposed to ts. From what I've seen, creating and utilizing a webpart requires typescript. This project is fairly large so I guess I'm just ...
6
votes
1
answer
34k
views
Anyone can explain the .ts file and .tsx file use and difference in SPFx react webpart?
In SPFx No JavaScript Framework webpart contain "webpart.ts" file and write code in it.
But in React SPFx webpart, there are 2 file : 1) webpart.ts file 2) webpart.tsx file in component folder.
...
-1
votes
1
answer
337
views
Debounce in sfx react
The code I am using:
<TextField onChanged={e => this.handleCommChange(e, 'Contact')}
private handleCommChange(e: any, controlType: any): void {
const { temp_items } = this.state;
const ...
1
vote
1
answer
255
views
I want to upload the document in SharePoint online document library with content type
My code -
sp.web
.getFolderByServerRelativeUrl("Student%20Details%20No%20Content%20Type")
.files.add(fileContent.name, fileContent, true)
.then(f => {
f.file.getItem()....