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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
39 views

How to customize SharePoint main content using SPFX [closed]

I'm using spfx extensions to customize header and footer, but not customize body content or main content of page in sharepoint online.
Alriyan's user avatar
2 votes
1 answer
1k views

SPFX: How to debug an application customizer extension

I am new to spfx and have to write an application customizer that changes the key of a query in the url. I have already implemtend this functionality and now want to test/debug. When I run gulp serve, ...
maxE's user avatar
  • 131
1 vote
1 answer
1k views

SPFX context menu command set extension not showing for picture library

I am developing a ContextMenu command set for sharepoint online for my tenant. I developed the program and tested and from localhost it was working as expected. When I deployed the extension and ...
Rafat Rashid's user avatar
1 vote
1 answer
45 views

Add SPFX extension when document is opened in SPO mode

I am looking to add button (highlighted with yellow in the screenshot) in the header when the document is opened in SPO mode. Is it possible through SPFX or any other way in SPO ?
CloudEngineer's user avatar
1 vote
1 answer
406 views

Application Customizer to hide Save button

I am trying to create the application customizer to hide save and cancel button from Newform.aspx in Modern UI, I tried writing below code but everything getting hide instead of Save button noticed ...
kumar's user avatar
  • 139
1 vote
2 answers
155 views

Extension option Missing in SPFX

i am trying creating extension but not getting extension option only getting webpart
kumar's user avatar
  • 139
1 vote
0 answers
630 views

Refresh the ListView from the SPFx Extension

I have implemented an extension that moves the file to a particular location. everything works fine but once the operation is completed I want to refresh the listView so the file which is moved should ...
Dhruvil Prajapati's user avatar
0 votes
1 answer
141 views

Start Manual Sharepoint designer workflow using SPFX

Can we create spfx extension or webpart which can initiate workflow on selected items in document library
kumar's user avatar
  • 139
1 vote
1 answer
333 views

Can I combine provider hosted app and spfx app in a single app?

I am building a product which is available in both version of SharePoint online i.e. Modern as well as classic view. I have developed provider hosted app as well as spfx app, now the problem is that ...
Dharam Padia's user avatar
3 votes
2 answers
2k views

How to inject CSS in modern SharePoint pages using Extensions?

I've followed step-by-step this article on how to inject CSS in modern SharePoint pages using Extensions: https://tahoeninjas.blog/2018/05/08/inject-custom-css-on-sharepoint-modern-pages-using-spfx-...
jose luis gonzalez clua's user avatar
4 votes
1 answer
147 views

SPO updates impact on SPFX components

Does Microsoft guarantees that web part/extensions built using SPFX won't be impacted by SPO updates ? I need to build an application with some pages that will be rich html and consumes API's like ...
CloudEngineer's user avatar
2 votes
2 answers
311 views

SPFx Extension BaseListViewCommandSet

I created a SPFx BaseListViewCommandSet extension. My component puts the status of all selected rows. The update works well. However, when I want to refresh the page (location.reload ();) at the end ...
olivier3232's user avatar
0 votes
3 answers
3k 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-...
Ushka's user avatar
  • 277
2 votes
1 answer
256 views

I don't want to debug my SPFx ListView Command Extension in production

I have an SPFx solution with a ListView Command Extension. I ran the following to create the .sppkg file for deployment to production: gulp build gulp bundle --ship gulp package-solution --ship I ...
cjmorelock's user avatar
3 votes
1 answer
1k views

ListView Command Set extension - What are supported values for "RegistrationId" and "RegistrationType" in <Elements><CustomAction>?

I would like to create a ListView Command Set Extension for modern views using a SharePoint Framework solution. Ideally I would be able to apply my "Custom Actions" only to specific list types or ...
cjmorelock's user avatar
0 votes
1 answer
232 views

SPFx Extension - Application customizer - List all components on the page

Is there a way to list/ iterate all OOTB components on the modern SharePoint online site page? Under developer tools I can see an ID 'spoAppComponent' but not able to access/ unmount the same ...
panky99's user avatar
  • 13
1 vote
1 answer
185 views

SPFx Application customizer and hiding list in Modern Site

Is there a way to Hide List view & List settings page for certain user. Idea is make the list inaccessible to through UI and programmatic access and user will only access data via Power App. Below ...
panky99's user avatar
  • 13
1 vote
1 answer
2k views

using SP.UI.Modaldialog.showDialog(options); in spfx listview extension is executing but no dialog is visible

Hi I'm trying to open sharepoint dialog using spfx extension in which using typing able to get the SP.UI.ModalDialog Object in ts file of the extension. And the code # SP.UI.ModalDialog....
user27178's user avatar
  • 372
0 votes
1 answer
1k views

SPFx "Command Set" that displays a dialog box or panel containing a "people picker" control

I'm new to working with SPFx extensions. Requirement is create a SPFx "Command Set", that on click displays some sort of dialog box or panel containing a "people picker" control within it. I've ...
Anirudh's user avatar
1 vote
0 answers
148 views

Show the Total Count of the column value generated using SPFx Field Customizer

I have developed a Field Customizer Extension. This renders the item count based on the logic for each cell in the Document Library. Now, I want to show the total of the count at the bottom of the ...
Dhruvil Prajapati's user avatar
1 vote
1 answer
248 views

In SharePoint Framework Extension (Application Customizer), are there any other placeholders that can be used aside from the header and footer?

We are trying to add a drop-down control in the command bar of a page or beside the share button on a SharePoint Online site. May we know if there is a specific placeholder we can use to achieve this?...
Dianne Lee's user avatar
3 votes
1 answer
2k views

SPFx Loading Issue

I have created the SPFx Project with extension and Web parts. It is working well if I run gulp serve. If I refresh the browser page it is not loading. It throws an error. If I copy the same URL ...
Shahul Hameed's user avatar
4 votes
1 answer
619 views

Spfx: Change spfx Webpart environment from sharepoint online to sharepoint on prem

I have a modern web part built for sharepoint Online. I want to convert this web part to be compatible with sharepoint on-prem 2019. I have searched and found out that I would need to use spfx version ...
Student's user avatar
  • 331
1 vote
1 answer
526 views

How to add the new command bar button at the end of the other menu using spfx ? like after flow

How to add the new command bar button at the end of the other menu using SPFx? like after flow. My new button(eviewer) is getting added after export to excel. I want to be added after end of flow. ...
Subrat's user avatar
  • 11
2 votes
2 answers
634 views

Access Graph API from localhost (SharePoint extension)

I'm developing a SharePoint extension (ListViewCommandSet extension). I have no clue (can't find any docs about this) how to give permissions to access Graph API (even the /me call gives a 403 ...
Andrés Biarge's user avatar
2 votes
1 answer
839 views

REST API Prompting for user credentials

I am attempting to traverse up the site hierarchy tree using the Rest API in SharePoint with SPFx in order to create "legacy-style" breadcrumbs. I am basing my component on the code found here. If ...
Shahul Hameed's user avatar
1 vote
2 answers
730 views

SPFx Command Set tenant-wide deployment

I'm using SPFx version 1.4 for SharePoint Server 2019. I've created a Command Set for document library for global deployment on the whole tenant. Basically, it should work on each document library on ...
Dmitry S's user avatar
0 votes
2 answers
3k views

SharePoint 2019 SPFx application customizer - site collection wide automatic deployment

I am looking forward for some help. I developed an application customizer to inject JS and CSS. I am using the "includeClientSideAssets": true to get my stuff within the sppkg. In addition to that ...
Felix Zeidler's user avatar
2 votes
2 answers
1k views

Is possible put React JS on Sharepoint Extension?

I am new to SharePoint development, and in need to create a custom side panel (with React), when click on item of list view. Is it possible to use React JS while developing SPFx extension?
Leo Altissimo Neto's user avatar
1 vote
1 answer
197 views

SPFX for favicon published to SharePoint 2019 server not working

I have created a SPFx framework extension to change the favicon of my SharePoint 2019 on-premise. I followed below link, everything works fine while testing. but when deployed to app catalog it doesn'...
Binu's user avatar
  • 11
0 votes
1 answer
772 views

How to add bootstrap media query add in spfx(jquery) web parts?

We have SharePoint SPFx web part (developed using jQuery). We want to show these web parts responsive in the all devices. Do we need to use bootstrap or any media query?
Mavani's user avatar
  • 477
1 vote
1 answer
926 views

check user in group SPFX get Httpclient request 403

I get a 403 error when i try to check if a user is part of group. let props = this.properties; let GroupsArray: string[] = []; if (props.Groups != null && props.Groups.length > 0) { ...
user1339913's user avatar
0 votes
1 answer
825 views

SPFX Custom CSS and deploy in CDN

I am creating SPFx extension with custom CSS file not SCSS file. My Question is how can I add path in SPComponentLoader.loadCss()? And at the same time how can I upload the file in my "Public Office ...
Milind's user avatar
  • 1,538
1 vote
1 answer
293 views

SharePoint Framework with Promise in extension

I am trying to render header placeholder, but I am very new to the promise of SPFx. Below line in my code runs before it returns any value. How can I await until it returns a string value? this....
Milind's user avatar
  • 1,538
3 votes
1 answer
884 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 ...
Ravi Khambhati's user avatar
1 vote
1 answer
6k views

_spPageContextInfo in modern pages

Using SPFx extension (application customizer) added JS files to all SharePoint pages (including modern pages), something like mentioned in below blog: Step by Step Procedure to Add a JS file to all ...
user4205's user avatar
  • 571
1 vote
0 answers
178 views

How to add Multilevel ListView Command Set buttons using SPFX Extensiton?

In manifest.json file I have structure like: "items": { "COMMAND_1": { "title": { "default": "Command One" }, "iconImageUrl": "_layouts/15/images/itslidelibrary.png", "type": "command", }, "...
Y. Jagtap's user avatar
  • 323
0 votes
1 answer
168 views

Save site as template in SharePoint Online Modern Sites

I want to save a SharePoint Online modern site collection as a template with SPFx application extension and want to create a SharePoint Online modern site collection using saved template.
Karthikeyan Ganesan's user avatar
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 ...
Sriram Tamilarasan's user avatar
1 vote
1 answer
2k views

How to get all items in list view from SPFX ListView Command set onExecute()?

Is it possible to get all (not only selected) rows\items in ListView when ListView Command Set onExecute() method is called? E.g.: @override public onExecute(event: ...
23W's user avatar
  • 185
1 vote
0 answers
988 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/...
23W's user avatar
  • 185
3 votes
1 answer
2k views

How to add sub commands in my SPFX List View Command Set command

My SPFX contains extension that adds two commands in Document List: Elements.xml: <CustomAction Title="My Commands" RegistrationId="101" RegistrationType="List" Location="...
23W's user avatar
  • 185
2 votes
1 answer
1k views

Query site collection property bag in SPFx extension

I am building an SPFx Application Customizer for a Powell365 project, and trying to have it use custom properties from the current site collections's property bag. I already managed to get these ...
danschdev's user avatar
0 votes
1 answer
292 views

SharePoint Online Mega Menu

How can I create a Mega Menu using term-sets in SharePoint online? Any help would be appreciated. Thanks in advance.
Chandani Prajapati's user avatar
0 votes
1 answer
373 views

Change tenant logo on a specific site collection (O365_MainLink_TenantLogo)

I know that changing top nav suite is bad practise, but I got a client that want to make a generic domain from a site collection (B2B)-> change tenant logo. I don't know any solution to change the ...
Plexus81's user avatar
  • 2,250
2 votes
1 answer
90 views

Is there something like "View Customizer" in SPFx?

There is Tiles example on Github. But this is JSON Column Formatting. Is there a way to have more control above View rendering from SPFx web-part? I know field customizers can change behavior for ...
Gennady G's user avatar
  • 1,623
1 vote
1 answer
324 views

How to install List view command set extension in a site collection after deploying it to app catalog using CSOM?

I have created a ListView command set extension using SPFx and upload it in the app catalog. Now I want to install this extension for only particular sites. I tried adding it as a custom action but ...
Mahesh kumar Chiliveri's user avatar
0 votes
1 answer
206 views

Custom download link sharepoint Modern library

I have been asked if we can create a custom download link on a SharePoint Modern library, replacing the existing one, which saves the file with a name made from file metadata. I am assuming that this ...
Bill Young's user avatar
4 votes
1 answer
395 views

When navigating from one folder to another, the navigatedEvent doesn't fire in SPFx Extension

I have some logic based on which folder User is in. But it fails as when I navigates between the folder the navigatedEvent is not firing. Go to Root Folder add some console and then navigate to any ...
Dhruvil Prajapati's user avatar
1 vote
1 answer
638 views

How to Print a Document from the Modern Library in SharePoint Online?

I have a certain use case of being able to print a document directly from the modern library using a button. Almost a one click solution. I had a quick look around and found ways to print a modern ...
Krishant L's user avatar

1 2 3
4
5
7