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
0answers
31 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
19 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
38 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
19 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
0answers
16 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 ...
0
votes
1answer
32 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
30 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
73 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
0answers
43 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
17 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
55 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
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 ...
0
votes
2answers
455 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/...
1
vote
1answer
79 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
1answer
60 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
18 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
82 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
35 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
39 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
134 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
110 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
156 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
35 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
27 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
41 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
0answers
21 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
92 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
323 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
208 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 ...
0
votes
1answer
29 views

How to manage SPFx source code [closed]

I'm developing SPFx with team members and I'm thinking about how to manage the source code. What do you use to manage your source code? What services can I use to manage the SPFx source code? I would ...
2
votes
1answer
59 views

Get page load time in modern SharePoint site

I need to run some JS script on each page in modern SharePoint online communication site so I created SPFx extension and added to the site. One of the things I need to do is to get page loading time (...
0
votes
3answers
212 views

jQuery is not defined in SPFx extension

I have created SPFx extension (not a webpart, in case it makes any difference) and trying to add jQuery but its not doing it. I have installed it into package with npm install --save @types/jquery ...
1
vote
2answers
45 views

What is the quickest way to hide SharePoint Elements on a Modern page?

I have a SharePoint modern site homepage which I am using as a landing page. Currently I am hiding the default elements in site like "Site Title" and "Logo" using custom CSS which ...
1
vote
1answer
120 views

Minimize and open iframe using react js in SPFX

I have a iframe control imported from 'react-iframe'.We are showing a chatbot(PowerVirtualAgent) inside an iframe . I want to have a minimize button and open button functionalities over the iframe ...
1
vote
3answers
293 views

SharePoint online modern experience hide suiteBar, left navigation and top ribbon using SPFX showing it for few second then its hide

I am hiding suiteBar, left navigation and top ribbon using SPFX extension but for few second its showing up. I don't want to show it for few second also. I tried to hide it from master page alternate ...
0
votes
1answer
2k views

How to add pagination in office UI Fabric DetailsList control

I am working on SPFX Extension. I need to add pagination to the grid(Office UI Fabric -Details List control),Which is inside Dialog Control. I got this this Link .When I tried to import the Pagination ...
0
votes
1answer
328 views

Spfx extension to update selected item

I am trying to update selected row using below code but its not working @override public onExecute(event: IListViewCommandSetExecuteEventParameters): void { switch (event.itemId) { ...
0
votes
1answer
39 views

Display count/number on icon in SPFX Extensions

I have a requirement to display the count (actually, the count of active notifications) on the icon in SPFX extensions. I have the count. I am using React UI Fabric Icon control. Is there any property ...
0
votes
0answers
67 views

Getting “Sorry, something went wrong with adding the app. Click to retry.” when adding a SPFx library to a site

I made a SPFx library component and deployed it to my tenant app catalogue (as a non tenant wide publish). I then tried to add the app to one of my sites but it says Sorry, something went wrong with ...
0
votes
0answers
99 views

How to deploy multiple SPFx Library components in a tenant?

I am building for SPFx for SP Online. I want to re-use code so a SPFx Library component makes sense. However according to this https://docs.microsoft.com/en-us/sharepoint/dev/spfx/library-component-...
0
votes
1answer
20 views

Hide SharePoint sppkg from site contents

How do we hide all the solutions deployed in a site from site contents? I am structuring my solution to have separate project for each web part. So far I have 7 web parts each deployed with a ...
0
votes
2answers
168 views

How to hide gear button with SPFx for SPO modern UI

Can anyone teach me some SPFx code to hide the gear button in the upper right corner of SharePoint Online? Any suggestions would be appreciated.
0
votes
0answers
23 views

Getting error while bundling SPFX extension for sharepoint online

Im new to SPFX. While bundling the spfx extension solution im getting below error : I tried below fix from this link:https://social.technet.microsoft.com/Forums/lync/en-US/ec27e5c2-8bca-4a15-91de-...
0
votes
0answers
49 views

how to redirect Modern UI cancel button using Spfx

hi i want to redirect modern ui newwform.aspx page cancel button to cancel page ? how can we do it using extension i have extension code which inject Javascript but unable to find cancel selector ...
0
votes
1answer
133 views

Trigger Logic Apps from Spfx extension for selected items

Can we trigger logic app from extension click using spfx for selected items? ex: if i select 5 items and click on SPFX extension in Sharepoint Logic app will trigger for all 5 items and send email to ...
1
vote
1answer
84 views

Question (can we use states(react) in SPFx extensions ? )

I have a requirement where i need to : create a button on top header of page using SPFx extension, after clicking on it should open a Panel, inside that panel i want to create things we do in SPFx ...
0
votes
0answers
27 views

SharePoint list shows circles on columns heading when added fabric css

SharePoint list shows circles(or dots) on columns heading If I add fabric css from SPFX Application Customizer. How can I fix that issue?
0
votes
1answer
331 views

Spfx extension : Uncaught TypeError: Cannot set property 'innerText' of undefined

I am trying to change Save button name to Submit using below code but it does not work sometimes if I do load page twice below script throw error. My Script having JS is added in my Site Assets ...
0
votes
1answer
186 views

Customizing Top navbar in SharePoint online

I am new to SharePoint and I need to add icon to the top navigation bar like profile pic of the user and notification bell with styling. I tried with edit option but it supports only emoji and text ...
0
votes
0answers
27 views

SPFX List View Command Set Extension Sub Menu

Is it possible to add your own Sub-Menus when creating a List View Command Set Extension in the SharePoint Framework? I would like to have something like: Help -Contact Support -Submit a Ticket I ...

1
2 3 4 5 6