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
1answer
910 views

Issue with ListView Command set custom action | spfx

I have implemented a simple listview command set and added one button which is enabled when one item in a list is selected ( Similar to Command_1 example Here) While its working as expected on my ...
0
votes
3answers
4k views

Custom Form for Modern UI List item/Content Type

Is there a way to customize the layout of the list items/content types in Modern UI ? Right now whenever we click to the title it will open the right panel which I couldn't find a way to customize it. ...
0
votes
1answer
326 views

How to know if 'ms-CommandBar' component has been loaded using SPFX extensions

I would like to hide the above commandbar in all pages using javascript in spfx extensions(application customizer). I have tried the below code @override public onInit(): Promise<void> { ...
0
votes
1answer
637 views

How to load the external CSS first in SPFX Extension before the web parts renders

We are loading a custom CSS using SPComponentLoader in SPFX Extension. We are using those styles in other web parts. But while the page loads the ui is not coming properly as the Custom CSS loads ...
1
vote
1answer
29 views

What is the timeline to fix the known bug with list and library extension support in the classic experience?

I have a working SharePoint Framework extension but I need it to work across 200 classic sites that use the modern library experience. However, according to the overview for extensions: There is ...
2
votes
1answer
859 views

Can I use a SPFX ListView Command Extension to copy files from another library?

I'm looking at using the ListView Command SharePoint Framework Extension on a SharePoint document library. Essentially all it will do is have one command called "New Project". On selecting the ...
3
votes
1answer
1k views

Display SPFx Application Extension differently in Read/Edit mode of a Site Page

Question: Is there a utility built into SPFx or a React library to change what to render based on if the page is in read or edit mode? Or more exactly, a way to switch the rendering when switching ...
1
vote
1answer
379 views

Using Commandbar from Office UI Fabric React v6.47.2 for SP Starter Kit

I am currently refactoring some parts of the SP-Starter kit so as part of this, I am creating new solutions and manually adding code from the starter kit over to my solutions. Since I am creating ...
2
votes
1answer
698 views

Enable SPFx extension on a document based on specific content type

Can we enable SPFx extension on a document created based on a specific content type. I want to enable (make visible) ListViewCommandSet.CommandBar based on the document of certain content type ...
0
votes
1answer
1k views

Retrieving user profile properties in Application Customizer (SharePoint Framework)

I'm currently working with the SharePoint Framework Extensions that are currently in developer preview – specifically Application Customizers. How can I lookup user profile properties for the current ...
1
vote
1answer
308 views

How to find a list or log of all site collections with SPFX extension deployed?

We deployed a spfx extension (Add-PnPCustomAction Location "ClientSideExtension.ApplicationCustomizer" ) to multiple site collections manually, is there a way to use powershell to pull extensions and ...
1
vote
1answer
698 views

How can I save data from Sharepoint Extension?

I am currently creating a SharePoint extension (with spfx), At the first lauch of the extension, I have one registration form (7 input, type string). How can I save this data on the sharepoint site ...
2
votes
1answer
618 views

SPFx Field Customizer: Customization does not appear if document library is is within a webPart

I finally made my field customizer work in SharePoint online. It provides a URL field with modified link based on other item metadata. It creates a custom view which shows the new column provided by ...
1
vote
0answers
358 views

SPFx Field Customizer deployment: main js not loaded from CDN in SharePoint Online

I try to deploy my first Field Customizer app to a SharePoint online tenant. Tried several things, without CDN and with bundled assets, now using a CDN (which I previously configured with the ...
3
votes
2answers
615 views

SharePoint Online SPFx Apps: Why use a CDN for assets, why not simply use the SiteAssets library?

Why do the SPFx tutorials configure a library or a folder in an library as a CDN to host assets like scripts, images etc? I mean what is the technical difference to hosting the assets in the ...
2
votes
1answer
844 views

SPFX Field Customizer: how to get full path of document in document library?

I am creating a Field Customizer to display a hyperlink in a column in a document library view following this tutorial: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/...
2
votes
1answer
339 views

SPFx extension unrelated ApplicationCustomizerContext type tsc error

I have encountered dificulties using the ApplicationCustomizerContext type and the TypesSript 1) I have created a spfx application customizer 2) I have added in the application customizer main ts ...
2
votes
0answers
646 views

Using Custom JS in SPFX (SharePoint Online Modern Sites)

I have created a footer using custom js which fetches all the terms inside the termstore and displays it in the footer for the page and I have referenced the custom js and css files in the custom ...
1
vote
1answer
444 views

SPFx v1.5 building Extension and WebPart as single solution

I recently updated my SPFx framework to v1.5.0 and I wanted to create a solution that has both Extensions (Application Customizer) and Client Side Webparts. Now if I try creating a WebPart first and ...
0
votes
1answer
143 views

How to set the command buttons on ECB menu for multiple List templates in SharePoint newlook using SPFX

I have created spfx addin which will displays the command text on the SharePoint custom list. But i want that it should be displays in all the different SharePoint list templates for e.g Document ...
3
votes
2answers
539 views

Load SPFX webparts only after application customizer init method is completed ?

I have some webparts who have dependency of data which is obtained from application customizer. Is it possible to load webparts after application customizer
2
votes
1answer
2k views

Sharepoint Online/O365 custom fonts

Is it in anyway possible to add custom fonts to Sharepoint Modern sites/pages? I know it's possible to change the theme for Sharepoint Online, but it's very limited (only color palette). I don't ...
2
votes
1answer
745 views

SPFx Extension doesn't reload after site search

I have an application customizer extension loading content into the Top Place Holder. When performing a "More Results" site search the page slides over to a search detail screen. When I exit the ...
0
votes
1answer
531 views

How to get Share URL from command set?

I am developing a command set & looking for a way to get the Share URL of selected documents. I have tried these to get other urls. event.selectedRows.getValueByName('.spItemUrl'); event....
0
votes
1answer
47 views

Alternate way to develop extensions

We are in process of developing a custom command set following this link and ended up in a road blocker as our organization is very strict on github usage. Downloading required components like phantom....
0
votes
1answer
268 views

Mismatch in SPFX ListviewCommandSet buttons visibility in modern Document Library

When I set the visibility of the the custom button, It should be applicable at both places (ContextMenu + CommandBar). I am having 2 buttons (Add Fav + Remove Fav). Based on few conditions, i am ...
1
vote
1answer
500 views

Application Customizer scope

Application Customizer extensions are supported with Site, Web, and List scopes. You can control the scope by deciding where or how the Application Customizer is registered in your SharePoint tenant. ...
4
votes
1answer
2k views

spfx modern ui extension(Custom menu only showing in pages under sitepages)?

I successfully deployed my custom menu using application customizer(extension) but I noticed the menu only shows up when i view pages under sitepages. It doesn't come up when viewing list and document ...
1
vote
1answer
628 views

sharepoint framework extensions: sorry something went wrong

I am trying to learn SharePoint Framework Extensions and this is my first try. I created an application customer following the example in pluralsight. When I try to add the app, I get the error: Sorry,...
1
vote
1answer
2k views

bootstrap menu dropdown not working with SPFX -extensions

I have installed jquery and bootstrap to my spfx projects via npm. The menu loads well but it seems i'm having issues with bootstrap js because when i click on the menu with dropdown(see screenshot ...
0
votes
0answers
186 views

How to add the possibility to activate/deactivate my application customiser-SPFX

From this article Use an SPFx Application Customizer to add JavaScript (e.g. header) to every page in a site I can see you can enable a feature does one disable the feature. Not tried it yet but will ...
2
votes
1answer
266 views

using CSOM in SPFX - Cannot read property 'getEnumerator' of undefined

I'm trying to inject the below to my SPFX project. But i keep gettiing this error:-Cannot read property 'getEnumerator' of undefined with getEnumerator(); At the line below var listItemEnumerator = ...
1
vote
0answers
99 views

How can I dynamically add a menu from a SP list on a modern UI site using extensions

I would like to build a custom menu in Modern UI site. The menu data should be coming from a SharePoint list. I have tried using Application Customizer but no luck as yet on how to retrieve the ...
1
vote
0answers
123 views

Can I override the default communication / Team Site menu (SPFX)

I know I can use application customiser to add top and bottom placeholders to the new modern pages. But I'd prefer to use the same existing menu(OTB) but change the datasource to come from a ...
1
vote
1answer
853 views

SPFX List View Command Set Extension

Appreciate the good work in helping the SPFx community. We have an issue with a custom ListView command set extension. We are trying to implement an Export to Excel action for selected list items ...
3
votes
1answer
3k 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 ?...
3
votes
0answers
952 views

SPFx: Customize field behavior similar to JSLink in classic list forms

We use jslink on the field to customize the UI and behavior of fields on classic SharePoint forms and list views (cascading, colors etc.). How can we make this work in the Sharepoint modern experience ...
2
votes
1answer
1k views

Office UI Fabric React Message Bar Icon not displaying

I have written a SPFX Application Customizer. The purpose of the customizer is to read in the current page list ID and Site Url. It then passes the information through to the React Components. I ...
2
votes
2answers
5k views

How to tell if page is in view/edit mode in SPFx?

Trying to build an extension to display differently based on if the page is in view or edit mode. Is there a built in way to see if a modern Site Page is in Read or Edit display mode? I know of ...
0
votes
1answer
145 views

Add SFPX Extension to an existing App Package

Just wondered if anyone has successfully added an SPFx extension to an existing App Package or provisioned without using an package. We have an existing hosted provider application, an associated ...
1
vote
0answers
297 views

SPFx section layouts

Currently I have an issue building an SPFx solution where I'd like to create a two-column proportional section that is full-width in a modern page. With the tools currently available to me, all I can ...
1
vote
1answer
409 views

SPFX Extensions FieldCustomizers onRenderCell not called when redirect to folder

I'm following this tutorial https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/building-simple-field-customizer I successfully implemented the Percentage FieldCustomizer ...
8
votes
1answer
4k views

Is there any alternative of model-dialog available for SharePoint Modern Page?

I am currently working on SharePoint hosted app which has custom ribbon action in list & library. I have opened modal-dialog on ribbon action(HostWebDialog) but in SharePoint modern page it is ...
0
votes
1answer
785 views

Unstable run in SharePoint Framework Extension

I have deployed a SPFx Extension solution to my site. Everything went well except the Extension sometime loads, sometimes doesn't. In another word, if I refresh it a few times then sometime it won't ...
1
vote
2answers
490 views

SharePoint Framework Extension doesn't show placeholder

I have followed the sample of Microsoft regarding create SPFx Extension. Everything worked well until I deploy it to the site. After deployed the app into App Catalog, I could see the feature is ...
1
vote
1answer
630 views

SharePoint Framework Extensions invalid application package

I'm learning how to make a SharePoint Framework Extensions Apps. I made an app which is the same like in tutorial: Deploy your extension to SharePoint (Hello world part 3). Unfortunately i can't ...
0
votes
1answer
327 views

Create UserCustomAction for SharePoint Framework Extensions (Tenant-Scoped)

I have created a SPFx Extension (Application Customizer - Tenant Scoped) and I have uploaded it to the App Catalog succesfully. Now I'm trying to add it in a Site creating a UserCustomAction, but I'm ...
5
votes
0answers
322 views

SPFX Getting Sharepoint Online Modern Page ListItem Icon Programatically

I'm trying to get Modern Page ListItem icon path for some implementation. I understand that for SharePoint OnPrem / Online Classic, it will be located under /_layouts/15/images/<<icon_filename&...
3
votes
0answers
458 views

SPFX Extension Field Customizer onRenderCell calling base method

Currently i'm implementing field customizer to update document library list item icon. I updated Field XML Schema definition through CSOM. It's working well. But for certain condition, I need to show ...
7
votes
2answers
3k views

Can SPFx Webpart and Extension exist in a single app?

I'm starting to get my hands on using the new SharePoint Framework. I have general ideas about how they work now but I couldn't any document or statement that they (Client Web Part and Extension) ...