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
2answers
29 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 ...
1
vote
1answer
59 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 ...
7
votes
1answer
3k views

Detect navigation change in SPFX Application customizer

I have a SPFX customizer that displays a banner in the topPlaceholder. When the page loads, if it's a list, then it performs a calculation and then displays the banner. When I move from one library ...
0
votes
1answer
11 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 ...
0
votes
1answer
1k views

WebParts keep loading untill I scroll down the page or perform a zoom

environment:SharePoint online;Sharepoint Framework; Programming languages:TypeScript During page loading, sharepoint custom web part keeps on loading Nothing does change untill I scroll down the ...
2
votes
2answers
795 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 ...
0
votes
0answers
56 views

Add a new content type to an existing list

I have created an SPFx webpart, along with some site columns and content types defined in the elements / schema.xml. This works fine, and the columns and content type are deployed fine. I'm ...
0
votes
1answer
25 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 ...
1
vote
1answer
40 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
0answers
11 views

SPFx webpart at times never loads

My Spfx webpart which is just getting one line data from the list using pnp just keeps loading at times, when refreshed it comes back to normal again, but at times this just keeps on loading and ...
0
votes
1answer
879 views

Extension working in layout pages but no longer working anywhere else

I've developped a custom Extension with SPFX. This custom extension performs a Search. I deployed it. Everything worked totally fine during 6 months. And now, out of the blue, my extension is only ...
0
votes
1answer
15 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 &...
3
votes
1answer
960 views

What is the correct way to create a custom action using REST API in SharePoint Online?

I'm trying to use Microsoft Flow and the Send an HTTP request to SharePoint action to deploy an SPFx application customizer to a modern team site. I'm able to use the /_api/Site/UserCustomActions ...
2
votes
1answer
1k views

Can I add more than one SPFX extension - Application Customizer in one solution?

I am trying to add more than one SPFX extension in my solution (Application customizer in this case - one for header another for footer) but after deployment I only see one extension in my site. Am I ...
1
vote
1answer
1k views

Unable to Load CSS from the style library using SPFx Extension

I want to load the CSS file from Style Library of the site. I have created the SPFx extension of type Application Customizer. The purpose of the CSS loading is to change the UI of the web parts. I ...
0
votes
0answers
39 views

CORS and SP2019 on prem dev

I'm again trying my hands on some SPFx development on code downloaded from GitHub. As we are behind firewalls and they won't open anything I have to use a local CDN for all my manifest files and what ...
1
vote
1answer
1k views

How to inject custom CSS in Modern Site Pages using SPFx Extensions

I would like to inject Custom css in modern site pages. Here i need to change all the fonts on the modern site and i would like to achieve this via App Customizer with SPFx Extensions. Any tips Or ...
2
votes
1answer
910 views

SharePoint Online Custom modern page Footer using Application Customizer

We are creating a custom footer though SPFx Application Customizer for modern sharepoint pages. But our requirement on the Footer is to show the footer with a increased height. Once we deployed the ...
1
vote
1answer
52 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. ...
0
votes
1answer
898 views

Apply theme in SharePoint Online using REST api or PNP JS

I am looking for a solution to apply existing theme in SharePoint Modern Site using code.
0
votes
2answers
1k views

Display Rich Text in SharePoint Online

I am trying to display the rich text in a list item . I tried using the JSON formating, but it does not seem to have any support for "Enhanced rich text". The txtcontent converts the rich text to ...
1
vote
3answers
753 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
1answer
118 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
1answer
21 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
3answers
963 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-...
0
votes
0answers
19 views

Get user click activity in modern SharePoint page and send it to google analytics

I am following this article on how to link modern SharePoint site to Google analytics, but is there a way to get what a user clicks on-page to send that information too? Please let me know if that is ...
1
vote
1answer
42 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 ...
2
votes
1answer
100 views

SPFX get shared document URL by language

I want to get the document folder path url by selected language. For etc. English - Shared%20Documents German - Freigegebene%20Dokumente So, how do we get Shared documents path according to selected ...
0
votes
1answer
45 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
1answer
103 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 = ...
0
votes
0answers
73 views

Dynamic Filtering of Document Library using Buttons

I have a SharePoint Library with 100k+ records with the following fields: Market (about 10 different choices); Market Unit (about 10 Market Units per each Market); In order for a user to find a ...
0
votes
0answers
18 views

SharePoint page Edit option is removed in Teams

SharePoint page Edit option is removed in Teams, as below screenshot, no edit bar. it is read only view is there specific reason to hide them in Teams ? How do we shows the edit bar ? If it is not ...
0
votes
1answer
75 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 ...
0
votes
2answers
815 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
0answers
10 views

Any way to have data rule for organization chart to differentiate users not from AD but based on classification Permanent or contract employees?

I have permanent and Contract employees in Active directory. I want to show only permanent employees in the organization chart web part. Any out of the box way to achieve this with any condition based ...
2
votes
1answer
316 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
1answer
90 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
0answers
19 views

Synchronization with sharepoint planner task to sharepoint custom list

we have planner page in sharepoint like siteurl/_layouts/15/planner.aspx. so from here when we will create any task we want to add this item into custom sharepoint list. Is there any way to do that?
0
votes
1answer
179 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
1answer
50 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
1answer
61 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
0answers
286 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 ...
3
votes
1answer
130 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
1answer
255 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
0answers
66 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
0answers
34 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
0answers
27 views

Setting ID for <ListInstance> - SPFx Deploying SharePoint assets (custom list)

I'm trying to deploy a custom list in my SPFx project. The list is specific to the ListView Command Set I'm developing in the same project. In order for the ListView Command Set to determine that it ...
0
votes
1answer
119 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 ...
0
votes
1answer
479 views

Uncaught (in promise) TypeError: Cannot read property 'getByTitle' of undefined

While updating item in SPFx I am getting below error: Uncaught (in promise) TypeError: Cannot read property 'getByTitle' of undefined
1
vote
2answers
323 views

Are there any good SPfx tutorials, guides and examples?

Since SharePoint 2019 doesn't come with certain features out of the box, eg. Column headers that stay in place while scrolling, I am in the process of learning SharePoint framework. Are there any good ...

1
2 3 4 5 6