2022 Developer Survey is open! Take survey.

Questions tagged [spfx-custom-property-pane]

A custom panel that is being defined by the solution using SharePoint Framwork

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

SPFx React Error on Rendering Loop and PnP controls

I am using React to develop with SPfx for SharePoint online and am trying to rebuild a past solution I made, so that I can utilize the property pane of sharepoint to edit the webpart. I am getting an ...
user avatar
0 votes
1 answer
56 views

Using SPFx custom property pane in SPFx extension

Does anybody know, if it is possible to show the property pane in the SPFx extension? I want to show the property pane after clicking the icon which I created in the navigation in my SharePoint online ...
user avatar
  • 13
0 votes
0 answers
24 views

Store or Update an object array in WebPartProperties from child component - SharePoint Framework (Spfx)

i have a child component in a SPFx WebPart where a build up an object array containing People objects. This array is build up when the page/webpart is in edit mode. After page save I wont to pass the ...
user avatar
0 votes
1 answer
31 views

Does anyone know how a custom SharePoint list to be showed as a persona card?

I'm a new in SharePoint solution ,my problem is that i have a custom SharePoint list which have people inside and i want that people with the credentials to be showed as a persona card like MS graph ...
user avatar
0 votes
1 answer
37 views

Does anyone know how to display data from a sharepoint list as an image?

Does anyone know how to display data from a SharePoint list as an image ? I want for an example each row from the SharePoint list to display as an image to the hub site . For examples i have 5 custom ...
user avatar
0 votes
0 answers
22 views

ReRender a different card view onPropertyPaneFieldChanged in Adaptive Card Extension ( spfx )

I have an SPFX project based on adaptive card template of yeoman generator. It contains two Card views, Normal and Error. Use case is simple, in case Title property is empty show the Error Cardview ...
user avatar
  • 11
0 votes
1 answer
74 views

How to call an API request in the .ts file spfx not the main component

This is my web part below, I need to call an API so I can dynamically populate the scope property dropdown that are provided as 'settings' to the web part. Can I use componentdidmount? Doesn't seem to ...
user avatar
  • 396
0 votes
0 answers
20 views

how to detect if the current spfx webpart has the classic properties pane opened

I am trying to set one of the webpart properties from the property pane dynamically via JS. The ways mentioned in many articles works well for modern pages. If I set the property directly the SPFX ...
user avatar
0 votes
1 answer
199 views

Selecting Document Library through PropertyPane in SPFX

Here is the description about web part: Both web parts are same and only one ,only changed the heading and labels and their input's ID through property pane. One Webpart is working fine on a page ,but ...
user avatar
0 votes
1 answer
51 views

How to get document library in webpart property using no javascript in spfx

I am trying to get document library in webpart property using no javascript in spfx. How can I retrieve in drop-down.
user avatar
0 votes
1 answer
372 views

SPFx - How to create a custom WebPart Property for a selectable link

I am very new to creating web parts and property panels in spfx. I have gone through hello world, all the MS documentation, but the thing that is missing is the ability to link/upload to a file/folder ...
user avatar
  • 3
1 vote
1 answer
375 views

SPFX No Javascript Framework

I am encountering the below error and would welcome any information to resolve the issue: SharePoint 2019 SPFx webpart with No Javascript Framework PropertyPaneFieldType'.\n Property 'DynamicField' ...
user avatar
  • 19
1 vote
2 answers
287 views

onGetErrorMessage for PropertyFieldCollectionData CustomCollectionFieldType.dropdown not working

I'm trying to validate the inputs of my PropertyFieldCollectionData using onGetErrorMessage. It works fine for the text input (CustomCollectionFieldType.string) but for dropdown values (...
user avatar
  • 471
1 vote
2 answers
781 views

Add Hyperlink at property pane description area

I am building an SPFX web-part and I want to put my company URL in the description of the property pane, like in the Microsoft docs snippet: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-...
user avatar
0 votes
1 answer
144 views

Regarding Microsoft spfx documentation

I try to create a spfx webpart by following Microsoft document: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/guidance/simplify-adding-web-parts-with-preconfigured-entries Original ...
user avatar
0 votes
2 answers
423 views

How to use the webpart's property pane to edit data in read mode using openDetails()?

Let's say I have a modern O365 SPFX WebPart that displays some data in a DetailsList in a SharePoint Online environment. Now, I want to use the same property pane that is used to edit the webpart's ...
user avatar
2 votes
2 answers
388 views

Add informative text to PropertyPaneConfiguration

I'd like to write some lines of text to clarify the use specific properties, like a hint below the field or as a separate text block, or even as an (i) icon next to the field Is this at all possible? ...
user avatar
  • 471
0 votes
0 answers
149 views

How to print the selected value of Dropdown

I would like to know if there is a way to print the selected value of a Dropdown menu that is inside the Property Pane in SPFX. Like, in my case, how to make it print with a console.log "Ascending" ...
user avatar
2 votes
2 answers
1k views

Retrieving data from rich text editor in spfx web part properties

I am currently creating a custom web part, the webpart is using PropertyFieldCollectionData to collect user data (https://sharepoint.github.io/sp-dev-fx-property-controls/controls/...
user avatar
  • 121
1 vote
1 answer
740 views

WebPart.ts to render a dynamic drop-down list

I have a Webpart Propety Panel and I would like to fetch Sharepoint List of Title and show in the Property Panel. I know how to get it going in static. Webpart.ts static way to make a drop down list ...
user avatar
1 vote
0 answers
36 views

webpart.ts dropdownlist fetch from list but the list repeats itself

I am creating a webpart that has a property panel that loads the list of Title into the dropdownlist On Click Edit Webpart, the Title DropDown List is Empty Second Click , the Title Dropdown List ...
user avatar
0 votes
1 answer
508 views

Adding same webpart with different configuration, multiple times on the same page [closed]

I have created a SPFX webpart, so when I add this webpart multiple time on the same page then same data appears on both webparts even if they have different property pane configuration. The property ...
user avatar
  • 2,590
1 vote
1 answer
166 views

SharePoint Framework Web Part data storage

I have some JSON that is populated when a user sets up a web part, the JSON is used as the config i don't want to display this data to the user and I cannot see any way to simply hide a multi line ...
user avatar
1 vote
2 answers
268 views

SPFX rest call response seen in network tab but I cant read it on console

I got an issue I'm doing a rest call to get columns of a list, the call success because I can see the response in the network tab of the developer tools, here is a picture: for some reason when I try ...
user avatar
  • 111
5 votes
1 answer
328 views

Configure multiple modern SPFx Web Parts on classic pages

We have an issue with Sharepoint Web Parts which have worked perfectly fine in the past, but seem to have broken sometime within the past month without change on our side. One modern web part on the ...
user avatar
1 vote
0 answers
269 views

SPFx Custon Property Pane not opening

I have created one custom SPFx webpart in which I have placed one link (My Links). By clicking on that link, I am getting links from SharePoint list. When user clicks on the link, it opens Property ...
user avatar
  • 7,678
0 votes
1 answer
1k views

How to add checkboxes to propertypane dynamically

I have a dropdown on my property pane which i populated with sharepoint lists. What i want to do now is to add the columns(fields) of the list(selected on the dropdown) as checkbox(on the property ...
user avatar
1 vote
1 answer
1k views

SharePoint Framework SPFx - Using PNP js How to get and save value in Yes/No sharepoint column

I am creating custom webpart in SPFx. I have a yes/no column. I have to use PNP js to get the value, when that check box got selected. That value I should save it in SharePoint column as Yes, if its ...
user avatar
4 votes
1 answer
663 views

Close propertyPane in sharepoint framework

I'm using the following command to open my propertyPane in SharePoint Framework. this.context.propertyPane.open(); But there is sadly no close() option, so is there another way to close/hide the ...
user avatar
4 votes
1 answer
2k views

How to open property pane in a SPFx webpart without going in edit mode?

Is there a way to open the property pane without going into edit mode?
user avatar
  • 1,316
1 vote
1 answer
319 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 ...
user avatar
  • 11
1 vote
1 answer
1k views

How to access properties that I have created dynamically?

In the thinking of rebuilding Highlighted content properties, I have created button that add fields in the property pane but now I would like to know how to store the value of these fields and how to ...
user avatar
1 vote
2 answers
3k views

How can I use a Property Pane Button to dynamically add or delete fields in the property pane?

I'm currently working on my own webpart and I'm looking for a way to dynamically add or delete fields in the property pane exactly as it is in the highlighted content webpart. I don't even know how to ...
user avatar
2 votes
1 answer
1k views

SPFx - CSS for property pane

I've created a SPFx web part called "Human Resources Announcements." However, the name is too long for the property pane title to hold all of its value in one line. How would I add custom CSS to the ...
user avatar
  • 566
5 votes
2 answers
6k views

Hide/Disable property pane component based on another component's value

On my property pane for a SPFx web part, I've got a Toggle and a Slider component. How do make it so that when the Toggle is Off, the Slider is hidden/disabled?
user avatar
  • 566
1 vote
1 answer
85 views

SharePoint Framework property pane

I have been playing around with SPFx and was wondering about the property pane controls. Are they specifically meant for configuring a web part or do they also serve as a type of input form for the ...
user avatar
  • 1,165
8 votes
2 answers
446 views

New Communication site Template supports Multilingual Content

we have a requirement to use new Communication Site template and build a web site, but it should be multilingual. Since new Communication site look and feel and responsiveness suit to my client ...
user avatar
4 votes
1 answer
638 views

SPFx Custom Property Pane

I had created a SPFx web part. The web part contains a Property Pane Custom Field, which returns a string. Now, when I hit apply button on property pane, my custom property gets the data and render it ...
user avatar
  • 2,930