Questions tagged [spfx-extensions]
SharePoint Framework Extensions let developers extend the user experience of SharePoint, providing ways to customize more facets of the SharePoint experience including notification areas, the toolbars of SharePoint, and the views of list data.
336 questions
0
votes
1
answer
140
views
Replace OOB Sharepoint top menu with Top Application Customizer Extension
I have built a custom Sharepoint Top Application Customizer Extension for a branding project, does the Top Application Customizer always appears on the top of the page? as per our requirement we are ...
3
votes
2
answers
4k
views
Deployed app customizer sppkg doesn't show up in site collection's app catalog
Following the documentation to create an app customizer and bundled with no changes to the code from the yo generator code base (@microsoft/generator-sharepoint was v1.3.4).
The debug mode ?...
2
votes
1
answer
707
views
SharePoint online When user clicks on New/edit item need to redirect to site page
Need to redirect to site page when user clicks on new/edit item in SharePoint online new experience, site page will have spfx app to add or edit item.
How could we achieve this functionality, in ...
1
vote
1
answer
1k
views
How to update an SPFx solution
I am new to SPFx, and I was wondering how can we update the solution after packaging it for the first time?
Do I need to run the gulp package-solution --ship and add the sppkg file to SharePoint?
Kind ...
0
votes
1
answer
202
views
SharePoint Online - Application Customizer isn't finding a tag
In SharePoint Online I am trying to hide the "See All" link that comes with the out-of-the-box List and Document Library web parts.
So I followed this tutorial, Build your first SharePoint ...
0
votes
1
answer
1k
views
Using SPFx custom property pane in SPFx extension
Does anybody know, if it is possible to show the property pane in the SPFx extension?
I want to show the property pane after clicking the icon which I created in the navigation in my SharePoint online ...
0
votes
1
answer
611
views
SPFX Extension Issues in Edge
I have built an extension and deployed the extension in-app catalog but it showing an error message in the edge browser but completely fine in chrome.
Erro Loading debug manifests.....
Steps I ...
1
vote
2
answers
6k
views
Enable users edit permission only for items added by him in a list
I have the below requirement in SharePoint Online and On-prem versions:
A custom list is to be maintained where users can edit only items that were created by him/her. Enabling unique permission for ...
0
votes
1
answer
911
views
Does anyone know how to display data from a sharepoint list as an image?
Does anyone know how to display data from a SharePoint list as an image ? I want for an example each row from the SharePoint list to display as an image to the hub site . For examples i have 5 custom ...
1
vote
2
answers
167
views
Extension option Missing in SPFX
i am trying creating extension but not getting extension option only getting webpart
6
votes
5
answers
4k
views
How to update ListView within spfx commandset to show new item
Im working on a pretty simple spfx CommandSet extension. Its goal is to duplicate an item, when an item is selected. I have the working code. My problem is, that i searched the context property, but ...
0
votes
1
answer
2k
views
Does anyone know how to use live persona card and load data from a SharePoint list?
Does anyone know how to use live persona card and load data from a SharePoint list
0
votes
1
answer
637
views
Is SharePoint injecting a second command menu bar?
I've inherited the SPFx components of a SharePoint solution that has a custom command set that replaces the OOB command menu bar items.The OOB menu items are removed by looping over "ms-...
0
votes
1
answer
622
views
Placing SPFX ListViewExtension custom action into More expandable menu
I've created custom action as ListViewExtension and it works well, but i cannot figure out how to place it under expandable "More" menu.
My manifest.json is:
"unlock": {
&...
0
votes
0
answers
134
views
ReRender a different card view onPropertyPaneFieldChanged in Adaptive Card Extension ( spfx )
I have an SPFX project based on adaptive card template of yeoman generator.
It contains two Card views, Normal and Error. Use case is simple, in case Title property is empty show the Error Cardview ...
1
vote
0
answers
1k
views
Invalid selected rows in onExecute() of SPFX ListView Command set
Simple code just built from yo @microsoft/sharepoint wizard:
Elements.xml:
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/...
0
votes
1
answer
568
views
How to place multiple SPFx Application customisers (created in different solutions) in top placeholder
I have two VS Code solutions, each one implementing (among other things), a different SPFx Application Customiser - both render content in the top placeholder. Solution 1 has Extension 1, and ...
0
votes
1
answer
553
views
Display all Microsoft Forms in SharePoint Online
We have few Microsoft Forms & Quizzes created on Forms Platform.
Is it currently possible to display all of the Forms and Quizzes in SharePoint Online?
For example I want to display all of the ...
0
votes
1
answer
263
views
SPFX modern page remove edit page button
is there a way to hide edit page button and replace it with another icon link to say unable to edit until page is approved? idea is to remove the edit button so users cannot edit until the page has ...
1
vote
3
answers
4k
views
This generator (@microsoft/sharepoint:app) requires yeoman-environment at least 3.0.0, current version is 2.10.3
I am getting the following error when trying to use yo @microsoft/sharepoint
Error @microsoft/sharepoint
This generator (@microsoft/sharepoint:app) requires yeoman-environment at least 3.0.0, current ...
0
votes
1
answer
242
views
Modify my SharePoint Framework Extension to only run on the home page of the site + add a custom JS file
I am working on a SharePoint online modern team site, and I am following these steps to inject custom CSS inside my pages @ https://tahoeninjas.blog/2018/05/08/inject-custom-css-on-sharepoint-modern-...
0
votes
1
answer
650
views
Error while using @microsoft/sp-dialog in SPFX TS1005
When using Dialog class from sp-dialog, gulp serve throws the error.
Created an SPFX project with react framework. installed sp-dialog with the following command.
npm install --save
in the .tsx ...
2
votes
1
answer
184
views
Filter by field customizer column
I have an SPFx field application customizer that renders some custom text in a column. The column is created with a feature in the extension.
Is it possible to filter on that text in the list later on?...
1
vote
2
answers
3k
views
SPFX 1.12 gulp serve-deprecated alternative
Recenlty i decided to update the spfx libs of my webparts project to the v1.12.1
I have followed the steps indicated in the official Microsoft documentation:
https://docs.microsoft.com/es-es/...
0
votes
1
answer
1k
views
SPFX Field Customizer: how to get Id of item in list?
My question relates to SPFX Field Customizer: how to get full path of document in document library?.
How to I get the Id of the item on which the Field Customizer applies?
I have tried:
event.listItem....
0
votes
2
answers
1k
views
SPFx extension custom dialog showing old text once you close the dialog and open it again in SharePoint Online
This is a issue that recently started to happen. I have SPFx extension which uses custom dialog. When user clicks on button, I have dialog box that opens up with table and a close button which user ...
2
votes
1
answer
500
views
SPFX - Update list with a new field fails
I'm trying to deploy a new field (column) to a custom list that has been deployed using a SPFx Extension. The field gets added to the site, but it does not get added to the ContentType.
I've been ...
0
votes
1
answer
839
views
SPFx extension to redirect users before the page loads
I need to create an spfx extension to redirect the user to the home page if the user has not enough permission. But in the extension after the page loads it starts checking and after that it redirects ...
2
votes
2
answers
1k
views
Add SPFx app to a SharePoint site via REST or CSOM
I have 300 Subsites and want to add my custom SPFx Extension to all those subsites. Manually I know how to achieve that. I just go to site contents and add my app. But I want to solve this ...
1
vote
1
answer
417
views
SPFX webpart shows at r is not a constructor error randomly
I frequently get the above error in my dashboard page which consist of few spfx webparts. This error appears randomly 1 in 10 times, The spfx webparts do not consume any pnp framework or jquery nor it ...
0
votes
1
answer
275
views
Apply filtering to modern list via SPFx extension
New to SPFx.
Developing within SharePoint 2019 on-prem.
SPFx 1.4.1
I have a list that has 2 date columns (as well as many other columns). The 2 date columns' names are "Effective Date" and &...
1
vote
1
answer
562
views
Modify the position of application customizer (Breadcrumb) SPFX
I need to change the position of an application extension on my page. It sits at the top, I want to drop it lower. The Microsoft documentation I have seen just points me to the top or bottom region. ...
1
vote
3
answers
1k
views
SharePoint framework yo not showing all the options
I am new to SharePoint framework. I am executing yo @microsoft\sharepoint. Providing all the inputs.
For the question Which type of component to be created? it is showing only Webpart. It is not ...
0
votes
1
answer
1k
views
Hide Save and cancel button
I have a SharePoint list and a Power Apps form for the items of this list.
I have created a Save button on my PowerApps form because I have flows to run before the save.
So I would like to hide the ...
0
votes
1
answer
152
views
if i add an extension to the hub site, will it effect all associated sites?
i have an extension to handle analytics in a site, if i make the site as hub site and add few other site as associated site, will it be able to get that extension in all over the associated sites?
0
votes
3
answers
4k
views
Display "marked as final" status for a document in SharePoint Online document library view
There is a feature inside Word, Excel and PowerPoint to mark a document as final. More info here: https://support.microsoft.com/en-us/office/help-prevent-changes-to-a-final-version-of-a-file-b1af610f-...
1
vote
1
answer
481
views
After deploying SharePoint extension locally, It is not displaying context menu for Document Library folders and Documents
I have created an SharePoint Extension for Context menu on Folders and Documents. It is working fine as expectation in debug mode but after deploying it(tried locally only), I am not able to see ...
0
votes
1
answer
228
views
Getting an error when using pnp sp in IE11
I'm doing SPFx extension with react for SharePoint online and it is working ok in other browsers but not in the IE11. My imports look like this:
import 'react-app-polyfill/ie11';
import 'react-app-...
1
vote
1
answer
461
views
Trigger Republish button using spfx extension while on edit mode
I am trying to manually trigger the republish event while editing the SharePoint page using spfx extension as below . but there is a error in savePage api . is there way to do it ?
const publish = ...
1
vote
1
answer
562
views
SPFx Application Customizer and SPFx WebPart Connection
I know we can create connected SPFx webparts but is it possible to create the connection between SPFx application customizer and SPFx webpart?
The scenario is that we need to create application ...
3
votes
1
answer
1k
views
SPFx Command Bar not working after deployment
I am working on SPFx Command Bar and everything is working as expected when I do 'gulp serve' and run it in localhost. But when I tried to deploy the same in AppCatalog and installed the same to my ...
1
vote
1
answer
553
views
My first SPFx hello world - How do I get site owner?
I'm new here and looking for some guidance if possible. I have been following the hello world MS SPFx framework walkthrough. I have been playing the page placeholder walkthrough to add a custom footer ...
0
votes
1
answer
2k
views
SharePoint Online - Modern Site, Can you add a custom Background Image behind Webparts
I am looking for some assistance - I currently have a request from the CEO to create a custom SharePoint site, which will be used to embed a Microsoft Stream video, however he wants the site to be ...
0
votes
1
answer
367
views
SPFx List View Formatter extension
Is there any way to format the ListView by using the SPFx extension same as we have format the ListView as JSON formatting?
I can format the ListView using the JSON format, but for that, I need to ...
1
vote
1
answer
670
views
Is there any way to open the default Share item dialog from the SPFx webpart
Is there any way to Open the Default Share Item dialog from the SPFx web part's details list (Modern dialog)?
My requirement is to open the default OOTB share item dialog (as displayed above) when ...
1
vote
0
answers
2k
views
SPFx Single Sign On Redirect Page
We have a simple SPFx Application Customizer which renders a global navigation to all sites.
We are using pnp to fetch items from a config list.
The component is running fine.
Each time we open a new ...
2
votes
1
answer
498
views
Add Handling page creation events in your SPFx application customizer
I have the following inside my application customizer SPFX extension, the code is responsible to load custom CSS inside the home page https://***.sharepoint.com/sites/customeroperations/sitepages/...
1
vote
1
answer
2k
views
SPFX Application customizer extension only run if i run it locally and will stop working when I deploy to the app catalog
I want to inject some CSS to my SharePoint page, so I follow those steps to create SPFX Application customizer extension:-
md app-extension
cd app-extension
yo @microsoft/sharepoint
What is your ...
0
votes
0
answers
426
views
Why the SPFX Application customizer extension only run on modern pages, without running on modern list views
I have created a new SPFX, with these settings:-
Which type of client-side component to create? Extension
Which type of client-side extension to create? Application Customizer
and i added the SPFX ...
0
votes
1
answer
333
views
Update item and move document using spfx extension
hi i am trying below code to update status of selected rows and after that move all selected documents to another library but document get moved without updating status please find below snippet
...