Questions tagged [spfx-extension]

58 questions
0
votes
1 answer

Error while building a SPFX React Webpart

I am building my first react webpart. While running the gulp build I am getting the following error. Error - 'sass' sub task errored after 111 ms Can't find stylesheet to import. ╷ 1 │ @import '~@fluentui/react/dist/sass/References.scss'; │ …
user388969
  • 337
  • 1
  • 9
  • 30
0
votes
1 answer

Why does using @microsoft/sp-dialog inside a SPFX ListViewCommandSet prevent the extension from loading?

I'm trying to do something I've done before. I want to create a new SPFX ListViewCommandSet button which opens a dialog box. However, the moment I reference my custom dialog, the entire extension fails to load with the following error showing up in…
0
votes
0 answers

On Mouse hover top navigation dropdown custom menus not visible in SharePoint online(SPFX)

Hello , I have created custom component using SPFX extension to create top navigation in SharePoint online using term store manage metadata. But I am facing one problem , these menus are not showing on mouse hover , I have to click manually on each…
0
votes
1 answer

How to add an event listener to an element that is created from a promise in SPFx

I am following the Microsoft tutorial for creating an Application Customizer. That works great, but now I would like to add some custom things like a curtain menu to my site. I can't seem to figure out how to add an event listener to an element…
Will73
  • 55
  • 7
0
votes
1 answer

Adaptive cards extension button style

I'm writing custom adaptive card in typescript, and I need stylized buttons. Change font and background color is enough for me.. But I'm not fully understand how to implement custom renderer, can you help me with this? I found similar post, but I'm…
Pospa
  • 13
  • 2
0
votes
0 answers

Create item in webpart (spfx and react js)

I am trying to upload via my webpart new items to SP list. Almost everything works fine, but I am not able to upload attachments, on save action I am getting this error - [Error: Error making HttpClient request in queryable [400]…
0
votes
0 answers

Building PDF watermark editing tool on SharePoint Framework for SharePoint Online

I have a requirement to build an spfx webpart that displays pdf documents stored on SharePoint Online. The web part is meant to display links to the pdf documents and when one link is clicked, it shows the document with an autogenerated watermark…
0
votes
0 answers

Show a loading page on the sharepoint site while the webpart is being mounted || spfx webpart

I am working with sharepoint framework on 1.11 version and react to make a webpart. I need to make a preloading interface whilst the webpart loads the components. The problem is that the webpart needs to use the whole screen (width and height), but…
0
votes
0 answers

SPFx extension deployment options

There are two XML files - elements.xml whose scope is site collection and ClientSideInstance.xml whose scope is Tenant wide. If we set elementManifests property to elements.xml then can we deploy application extension, field customizer extension and…
Shailesh Jaiswal
  • 3,606
  • 13
  • 73
  • 124
0
votes
1 answer

Is it possible to move the position of Action.ShowCard's new Adaptive Card?

I am using "Action.ShowCard" to show another card in adaptive cards - specifically spfx ACE in the Viva Connections Dashboard. I cannot see a way to get the new card to appear anywhere other than the bottom of the parent card. Is it possible to get…
0
votes
0 answers

SharePoint Framework (SPFX) Extension ListViewCommandSet translations not working once deployed

I have built a ListViewCommandSet SPFX Extension to add a button to all document libraries on our tenant. I wish to translate both the button text and the popup dialog text for our Canadian French-speaking users. I have used the standard SPFX…
David G
  • 56
  • 5
0
votes
1 answer

Sharepoint Framework SPFx - Pnp/PnPjs with React - Taxonomy Picker not working

I have created the SPfx project with React. I have used @pnp/sp": "^3.. for interaction with SharePoint. I can successfully get data from the SharePoint lists and Libraries. Now, I need to get SharePoint taxonomy terms and it's the parent term of…
0
votes
1 answer

change value of one field on the basis of other using spfx field customizer

I have a field name called Security(choice field) and other field name is Sensitivity. I want to copy the values of Security in Sensitivity in the list view. For example if value of security is Internal then in sensitivity column also it should show…
0
votes
1 answer

Adaptive Card QuickView Navigation not firing

Ok, so I'm just getting started with adaptive cards and downloaded the PNP ACE project (Git Hub Link) to use as a jumping off point. Started the project up and ran gulp serve.... everything seemed great.... until I tried to click either the View…
0
votes
1 answer

How to convert SPFX (ReactJS) project to ReactJS?

How to convert the SPFx(ReactJs) Project to ReactJS? Or would it possible to make use of the dist/lib folder binaries to include in the newly created ReactJs Project as Component and reuse the existing SPFx components?
Nanda kumar
  • 111
  • 4
  • 13