New answers tagged

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. ...
user avatar
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.
user avatar
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). ...
user avatar
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 ...
user avatar
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 ...
user avatar
  • 12.1k
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 ...
user avatar
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 ...
user avatar
  • 11.5k
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 ...
user avatar
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"; ...
user avatar
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.
user avatar
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 ...
user avatar
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. ...
user avatar
  • 11.5k
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 ...
user avatar

Top 50 recent answers are included