New answers tagged spfx
0
votes
Change the Background color of the top navigation for our site and add a button
An SPFx application customiser is limited to the top and bottom part of a page and does not change the out-of-the-box SharePoint navigation bar. Therefore, it wouldn't be possible to add the button.
...
1
vote
Show the User Outlook Personnel calendar inside SharePoint modern page
I would recommend looking at the Personal Calendar web part from the SharePoint starter kit.
0
votes
Replace OOB Sharepoint top menu with Top Application Customizer Extension
You're correct. Using CSS to hide out-of-the-box sections of a modern SharePoint page is not supported.
The application customiser will work with a hub site (since it's just a modern SharePoint site).
...
0
votes
Guest User access to Tenants Graph API
Guest users have restricted directory permissions. They can manage their own profile, change their own password and retrieve some information about other users, groups and apps, however, they cannot ...
0
votes
Accepted
Trying to set up SP Framework - Can't get past Command Prompts
It looks like your command prompt is not in the location where the SPFx project is. As you can see by the error reported, npm is looking for a file called package.json in the same folder where the ...
0
votes
Deployed app customizer sppkg doesn't show up in site collection's app catalog
please do these changes :
Follow below two steps to do that:
Step 1: make sure skipFeatureDeployment is set to false in config/package-solution.json file
Step 2 : remove clientsideinstance.xml from ...
1
vote
Accepted
How to best setup spfx on a new environment
I recommend these resources for setting up your development environment. They cover both Windows and macOS.
How to Set up a SharePoint Framework Developer Environment for SharePoint Online
How to set ...
0
votes
SPFx: Rendering Mock List Data
Using separation of concerns (SoC) design principle, the industry standard way to implement mock data using react in SPFX will be using ServiceKey and ServiceScope.
Brief overall steps:
Create a new ...
1
vote
Accepted
Attempting to delete multiple items from SP list using pnpjs V3 but getting error on ```createBatch()```
I manage to solve the issue using below
import { SPFI, spfi, SPFx } from "@pnp/sp";
import "@pnp/sp/webs";
import "@pnp/sp/lists";
import "@pnp/sp/items";
...
0
votes
SPFX and react-router
You should create a new component to use in that route, instead of using the same HelloWorld component inside the HelloWorld component.
0
votes
CDN files not Created in temp/deploy when shipping
Thank you for your answer.
I did the same as per you suggestion:
Specified CDN path as well:
My temp folder has these files .I am sorry If I did any silly mistake as I am new to this, learning ...
0
votes
CDN files not Created in temp/deploy when shipping
This does not directly answer your question, but I think it will assist you in moving forward. In the project you linked, the includeClientSideAssets setting in package-solution.json is set to true. ...
0
votes
AssesrtionError: Task never defined : clean; on gulp version 4
I'm having the exact same problem. Have you found any solution?
This is my workaround right now:
I added "dist": "gulp clean --ship && gulp bundle --ship && gulp ...
Top 50 recent answers are included
Related Tags
spfx × 1714sharepoint-online × 852
spfx-webparts × 813
spfx-extensions × 206
react × 154
spfx-tooling × 150
modern-experience × 137
sharepoint-framework × 115
typescript × 89
pnp × 69
javascript × 68
web-part × 68
pnpjs × 60
sharepoint-server × 59
sharepoint-rest-api × 59
office-ui-fabric-react × 54
pnp-js-core × 43
development × 41
reactjs × 41
office-365 × 39
2019 × 39
error × 38
spfx-custom-property-pane × 32
list × 31
microsoft-graph × 31