Questions tagged [spfx-extension]
58 questions
2
votes
2 answers
How to configure a spfx extension at runtime like ENV vars?
If i write for example a node express app, i have the opportunity to pass some env vars from the server configuration.
Is there an opportunity in SharePoint Online also?
As SharePoint Online is a managed service, there's imho no way to do so.
Is…

ThomasP
- 35
- 4
1
vote
0 answers
[SPLoaderError.loadComponentError]: Failed to load component ([APP]). Original error: Manifest not found for component id [ID] and version "17.0.2"
I am getting an error when testing the Web Part on workbench.aspx using gulp serve command
Something went wrong
If the problem persists, contact the site administrator and give them the information in Technical Details.
TECHNICAL…

josalvmo
- 11
- 3
1
vote
0 answers
Breakpoints not hit when debugging SPFx Field Customizer in VSCode
When debugging a SPFX Field Customizer Solution using VS Code, I cannot get the breakpoints to hit in the IDE. If I open the dev tools in the browser, I am able to put in breakpoints in the code and get them to hit, but not in the VSCode IDE.
In…

Andrew Gaskell
- 81
- 12
1
vote
1 answer
Sharepoint Script Editor Web Part Not Showing Up
I have SP 2019 setup and I cloned and generated the .sppkg file from the solution below:
https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-script-editor-onprem
I uploaded to the apps store of the site collection and chose to deploy…

Noorul
- 939
- 1
- 11
- 21
1
vote
0 answers
Sharepoint Modern Search v4 KQL
Apologies if this is quite broad
I am trying to create a solution using modern search v4 which using search box to populate results which once one is selected create a query which is then picked up by search results.
Currently I populate the url…

KJBeard
- 11
- 3
1
vote
1 answer
JS bundled with webpack can resolve to submodules but ts/spfx cannot
I have a local lib with a few submodules, I added dynamically a package.json in the dist folder to tell which files I want to expose using "exports".
What I can't figure out is why typescript gives me this error:
"minimal-module-webpack/omega" is a…

Ricardo Silva
- 1,221
- 9
- 19
1
vote
1 answer
Data is getting wiped out once submit action taken on adaptive card
"adaptivecards": "^1.2.6",
We are using adaptivecards package with bot framework in spfx solution.
Reference link: https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-adaptivecards
Details
Data is getting wiped out once submit action…

Jaya Raut
- 21
- 6
1
vote
1 answer
How to Inject CSS or JavaScript to SharePoint Modern page using SPFX
I have implemented the SPFX extension to inject CSS and JS to Sharepoint modern page. I could able to deploy it on-site without any error. But it is rendering my custom CSS and script
How to debug it to see where is the issue?
I have referred to…

user9989023
- 11
- 1
- 4
1
vote
1 answer
Unable to install npm in Windows. Already installed node@12
npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated natives@1.1.6: This module relies on Node.js's internals and will break at…

bhoomika shastry
- 31
- 3
1
vote
2 answers
Creating a custom framework Extension for sharepoint using vue js (vuespfx)
Creating a custom extension framework for SharePoint online using the vuespfx, scaffold can't be generated?
Using the Yeoman Generator with Vue:
npm i -g generator-vuespfx, yo vuespfx

Mariya
- 345
- 1
- 2
- 12
0
votes
1 answer
Why is this creating a blank page?
I'm in the midst of trying to create an spfx web part that will merge selected documents into one. I am using the pdf-lib and @pnp/sp libraries. Here is my code:
const mergedFile = await PDFDocument.create();
// Loop through each selected…

whaleiam
- 1
- 2
0
votes
1 answer
Fetch Data from on premise Database, SAP HANA Cloud for SPFx adaptive card Extension
I am trying to achieve. looking for how to retrieve and store data on a database system deployed on-premise, such as an SAP HANA solution that has its own database through the custom Viva Connections ACE(Adaptive Card Extension) card which I am…
0
votes
1 answer
URL is not getting the query parameter in the inputValue
When we are trying the below code in our index.ts, while we click on 'searchinput' button it's not getting the query parameter in the URL, After we click, this how the URL will be https://login.amaf.ae/SitePages/AMAF-Search.aspx?search= , the search…

Arun
- 3
- 2
0
votes
0 answers
FieldCustomizer extensions preventing GroupBy list details from rendering
I several lists with a View grouped by a Taxonomy term set with a Field customizer extension applied to the standard title field. When a user clicks on a specifc group in the Grouped by View to render the list with items from a specific group, the…

elliot-j
- 10,709
- 3
- 19
- 18
0
votes
0 answers
Create cascade dropdowns using SPFX React
I am new to SPFX. I am trying to build a web part property pane where there are 2 dropdowns. one has the lists in the current site and another one will populate the items inside the list selected in the dropdown.
Following is my code I am not…

user388969
- 337
- 1
- 9
- 30