Questions tagged [spfx]

General technical questions about the SharePoint Framework client-side development model.

Filter by
Sorted by
Tagged with
1 vote
2 answers
18 views

CSOM API how to find claims accounts unassociated with a site

I'm trying to find claims accounts that are not associated with a site. These would be "{SiteName} Owners" and "{Site Name} Members" users that are automatically created in ...
user avatar
  • 13
0 votes
1 answer
9 views

Play video in full screen and hide Header menu bar in SharePoint online modern site

I am creating a landing page in SharePoint Online (modern site not classic). I have below mention client's requirement. Once user hit the SharePoint home page, it should show only the video in full ...
user avatar
0 votes
1 answer
13 views

SharePoint modern calendar

Is there any way to view modern calendar by day only so it shows the time slots just like classic calendar shows when we click view by day? Do I need to create SPFX calendar from scratch showing ...
user avatar
  • 494
0 votes
3 answers
24 views

SharePoint: how to put the box in the header area or navigation?

Anyone know how can I put the box in image in the navigation area without using SPFx just CSS only.
user avatar
1 vote
2 answers
32 views

How can I add a image/shape in navigation bar?

I need to put shape or image that can when it scroll up or down it will never move in its position and it float it until navigation to footer. Like this one a heart that fixed in every part of the ...
user avatar
0 votes
1 answer
17 views

Restrict Sharepoint extension to be used on one specific list

There is an extension (custom ribbon) button on top of the list, that is connected to third-party apps, updating the list where you run it. It's needed to restrict the extension to be used only in the ...
user avatar
0 votes
2 answers
22 views

Feature is not added to site when I install an SPFx app with a list view command set a second time

I have an SPFx extension deployed to my tenant app catalog. The app implements a list view command set and in package-solution I set skipFeatureDeployment to false so that site owners can add the app ...
user avatar
  • 1,254
2 votes
1 answer
48 views

How to put image and link under PropertyPane Description field for the web part in SPFx?

I was trying with using React.CreateElement in the description field and changing the type for the description field from string to IPropertyPaneField in the interface, but this declaration exists in ...
user avatar
1 vote
1 answer
19 views

Using Blazor as the framework to develop SPFx webparts

I am wondering if someone knows if this is being attempted anywhere. Currently React seems to be the one appearing most in my searches. I have learned and developed on Microsoft Blazor yet I do not ...
user avatar
  • 11
0 votes
0 answers
14 views

Unable to load external scripts when user navigating between pages with sharepoint extension

We have sharepoint extension which load js files on page load/refresh working properly however when user navigate between news feed pages partial loading script does not work.Even I have used ...
user avatar
  • 11
0 votes
0 answers
16 views

Build SPFX@1.10.0 error

Error information: [17:20:51] Error - [tsc] node_modules/antd/lib/_util/type.d.ts(8,83): error TS1005: '?' expected. [17:20:51] Error - [tsc] node_modules/antd/lib/_util/type.d.ts(8,95): error TS1005: ...
user avatar
  • 1,914
0 votes
0 answers
24 views

Is there any way that I can use Application Customizer extension in whole site and only for one page?

I have created a Application Customizer extension of permission for single page URL. Is there any way that I can use this extension in whole site?. If yes, how to do it?
user avatar
0 votes
0 answers
22 views

Rich Text editor in React SPFX webpart in SharePoint online

I am trying to use the Richtext control from @pnp/spfx-controls-react. The control loads properly but I am not able to resize the image and even I am not able to apply custom css the Rich text control....
user avatar
  • 21
0 votes
0 answers
8 views

Teams Tab app with SSO and SharePoint Redirection via teamslogon.aspx

I have Teams app with SSO settings in manifest like this "webApplicationInfo": { "id": "25a08858-151f-477d-8fff-e72c9254ac22", "resource": "...
user avatar
1 vote
1 answer
15 views

Create Custom Master Page for "SharePoint Online"

I'd like to know how to do it. Is it possible to create such using the SharePoint Framework (SPFx)?
user avatar
0 votes
1 answer
19 views

SPFx - Ask individual consent to use Graph API

On a webpart I would like to show the current user calendar events, but I don't want to ask for an Admin to approve the API permission for everyone first. Is there a way to, when a new user hit the ...
user avatar
0 votes
1 answer
12 views

SPFx remove provisioned lists on uninstall?

Say I have an SPFX app that provisions a list, then user uninstalls the app. The list remains. Is there any way to remove provisioned assets on uninstall of an app? *Pnp.powershell not an option ...
user avatar
  • 5
0 votes
2 answers
36 views

Adaptive Cards Cannot add description property

I am trying to build Image Adaptive Card for the first time, I thought "Description" Property can be added how it can added in the normal web part SPFx. I was wondering how to add "...
user avatar
0 votes
0 answers
17 views

Uncaught TypeError: Cannot read properties of undefined (reading 'context') in spfx

When I am checking my published document that time I am facing this problem, before this it was running fine.
user avatar
0 votes
1 answer
28 views

trying to bundle https://github.com/FaganSC/spfxModernCalendar will raise this error "Error: Cannot find module 'webpack/lib/ParserHelpers'"

I want to run the following command gulp bundle --ship on this SPFX @ https://github.com/FaganSC/spfxModernCalendar. But i got those error Error: Cannot find module 'webpack/lib/ParserHelpers':- D:\...
user avatar
0 votes
0 answers
26 views

I am using the js-modern-calendar but is there a way to add eventsdirectly from the calendar view

I am working on this SPFx web part @ https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/js-modern-calendar .. but can we add the ability to go to specific day and add events? Thanks
user avatar
0 votes
1 answer
21 views

I am using the js-modern-calendar but I want to change the background color for Today block inside the calendar

I am working on this SPFx web part @ https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/js-modern-calendar but I want to change the background color for Today block to different color: How I ...
user avatar
0 votes
1 answer
30 views

Modifying button colors via SPFx is not being reflected

I am working on this SPFx web part @ https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/js-modern-calendar. Now when I click on a event inside the calendar, I will get this dialog box with a ...
user avatar
0 votes
0 answers
17 views

How to download selected multiple files as zip in SPFx development?

i am creating custom document library web-part, with the multiple file download functionality similar to the out-of-the box feature. how can we do that?
user avatar
  • 175
0 votes
1 answer
153 views

Couldn't add this app. Check your network connection and try again

I am new to SharePoint and developing web part solutions using SPFx with react. I have deployed the solution in the app catalog & when I was trying to add the app in the SharePoint App store, I am ...
user avatar
0 votes
0 answers
9 views

Can we show a popup before check-in a document inside SharePoint site if a record exists inside datavese

We have a SharePoint document library which have this settings:- Now we want to get the current folder ID >> and after the user click on the built-in check-in button and before doing the actual ...
user avatar
  • 972
0 votes
0 answers
5 views

Cancel a meeting event in graph + react

I want to know how to cancel a meeeting event using graph, and how to check if the promise was fullfilled or if it was rejected. I'm using react + typescript and have not found any examples. I tried ...
user avatar
  • 23
0 votes
0 answers
5 views

Confirm resource booking before an event is created / email is sent

I am building a room booking application and I've came to the part where I'm able to perform a booking - but I wan't to verify that booking a resource goes through and that it's accepted. From what I'...
user avatar
  • 23
0 votes
0 answers
20 views

PNP js version 3 get sp object return a Proxy object

I create a SPFX with PNP JS version 3, when I try to get the sp object , it return a Proxy object. I try to use the getSP() function in the official demo , same result. getItems() { // const ...
user avatar
0 votes
2 answers
18 views

Issue when packaging a solution

When I am packaging a solution I am facing this error when I run the command gulp bundle -ship.
user avatar
1 vote
1 answer
28 views

How to Remove the Current User email from a dropdown list [closed]

const getDropdownDataFromMaster = (): void => { let UserEamilArray = []; let userEmail = props.context.pageContext.user.email; console.log(userEmail); console.log("heyyy&...
user avatar
0 votes
2 answers
47 views

Accessing a SharePoint list without access using Graph API in SPFx

I am trying to show SharePoint list items from a different site collection in a SharePoint adaptive card extension using Graph API. This is working as expected for any user who has access to the ...
user avatar
  • 131
0 votes
0 answers
20 views

AngularJS assertion failure on SharePoint React Script Editor Webpart SPFx Webpart

I have a SharePoint 2013 application which consists of AngularJS customized application aspx pages. The application works perfectly fine on SP13. But now the requirement is to move to SPO Modern Teams ...
user avatar
0 votes
0 answers
11 views

How to change SharePoint Site language programmatically using spfx extension

it there way to change language dropdown of SharePoint site such as English to German using spfx solution ? I am looking function like pagecontext.setLanguage(1031);
user avatar
0 votes
0 answers
22 views

Using exchange services to send meeting invites

There is a add-in available from Sharepoint Sapiens in which they are sending email invites to user (internal and external). They ask for a email id from which emails should be sent, once added, the ...
user avatar
0 votes
2 answers
31 views

SPFx app after updating node version app not working

I created SPFx app in node version 8.x and deployed successfully. Now I want to do enhancement to the app but node does not allow to build app when because of 8.x node version. So I update the node ...
user avatar
0 votes
2 answers
28 views

Links in Site Pages Library: Get using Rest API

I am working on SharePoint Online. Inside the 'Site Pages' library, I have created a few site Pages and I also create a 'Link' item using the New > Links option. I use the 'Link' to connect to a ...
user avatar
  • 101
1 vote
0 answers
28 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 ...
user avatar
  • 23
1 vote
1 answer
42 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 ...
user avatar
  • 23
0 votes
0 answers
22 views

Child Element Not Accessible With Tab Key

I am using an application customizer to make a Rasa chatbot accessible. I need to make the child elements of a div container accessible with the tab / (shift + tab) keys. The container has a tabindex=&...
user avatar
0 votes
0 answers
27 views

Update custom columns when creating a new folder using API (sp.web)

I am creating some custom buttons for adding folders and files to a document library. I am creating these custom functions because we want to be able to use a custom column in our Document library ...
user avatar
  • 23
0 votes
0 answers
44 views

Failed to load component "6d28e73b-ed80-494e-8238-c0106c26b36a" (PersonalCalendarWebPart)

I want to add the "react-personal-calendar-client-side-solution" to our modern communication site. I followed the exact steps on this link: https://github.com/pnp/sp-starter-kit/tree/master/...
user avatar
  • 972
0 votes
0 answers
42 views

How to fix the SharePoint Online Public CDN Access Denied HTTPS/HTTP error

When setting up the SPO Public CDN using PnP PowerShell, a 403 error shows when trying to access the URL. It shows an HTTP address instead of an HTTPS address. In SPfx, a 406 error shows from a JS ...
user avatar
0 votes
1 answer
70 views

SPLoaderError.loadComponentError Sharepoint

I am trying to learn SPFx. I use SharePoint 2019. When I run "gulp serve", I found : Something went wrong If the problem persists, contact the site administrator and give them the ...
user avatar
0 votes
1 answer
17 views

How to fix FilterPane in SharePoint Online

I want to fix the Filters Pane in my SharePoint Library. Also when I open my Library, Filter Pane should be opened. Maybe it is possible to make in Application Customizer. Could you tell me please? ...
user avatar
  • 1
0 votes
1 answer
73 views

Fluentui Grid not working in SPFx work bench and also as an installed app

i want to use the fluentui grid layout in the SPFx Webpart with React as Framework. the problem is that the grid is not working. As soon as i use it, it shows only the items under each other. how I ...
user avatar
0 votes
1 answer
72 views

SharePoint content type based metadata column is not updating in Document library

I have created a site column that is a metadata type column. From that site column, I have created a content type that content type is assigned to the Document library. Now I have tried to update that ...
user avatar
0 votes
1 answer
25 views

Installing SPFX Extension on SharePoint Subsites - Error: "A different version of this App is already installed"

I am trying to install a SPFX Extension on my root site and subsites. I am able to install it on my root sites with this script but then run into an error stating: Install-PnPApp : {"odata.error&...
user avatar
  • 41
0 votes
1 answer
53 views

SharePoint Rest API Post Request fail

I try to fetch items from list in SharePoint 2019 using Rest API but the request fail with the following response Message: "could not be resolved by the model. When a model is available, each ...
user avatar
1 vote
1 answer
69 views

Clearing SharePoint Online Distributed cache?

I have a spfx webpart that I recently deployed a quick UI update to. Essentially, I changed a dropdown to be multi-select instead of single select. For hours after deploying my update, half my users ...
user avatar

1
2 3 4 5
36