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
19 views

Spfx react web part property pane changes reflect in other three column section web part in modern page

I have created one react spfx web part which get data from selected SharePoint list and render the data on modern page. But when I added web part in three column section at that time when I changes ...
Chandresh's user avatar
  • 499
0 votes
0 answers
82 views

How to update SPFx web part property pane values using PowerShell scripts?

How to update SPFx web part configuration property pane values in SharePoint 2019 on premises site using PowerShell?
Kaniksha Lakshmi Priya's user avatar
2 votes
1 answer
368 views

SPFX Property Pane property Undefined

I have added a PropertyPaneSlider control to an spfx web part. The control displays on the page and appears to be configured correctly. I want to get the value of the control from the properties ...
rogerb's user avatar
  • 31
2 votes
1 answer
462 views

How to put image and link under PropertyPane Description field for the web part in SPFx?

I was trying with using React.CreateElement in the description field and changing the type for the description field from string to IPropertyPaneField in the interface, but this declaration exists in ...
Vivek Chadha's user avatar
0 votes
1 answer
44 views

Build WebPart Properties based on Graph API/Promise response

I'm trying to restrict a custom WebParts properties pane based on whether a user is a member of a MS group I have built the Graph API call etc... and it simply returns true or false. Now I want to ...
ajl80's user avatar
  • 13
1 vote
1 answer
561 views

SPFx Web Part Property Pane refreshes web part on every keystroke

I'm using the example "Hello World" code as a basis for my web part. I added two fields to the property pane. I see the fields in the property pane when I edit the web part, but it refreshes ...
mannaggia's user avatar
  • 999
0 votes
1 answer
906 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 ...
YASi's user avatar
  • 25
2 votes
2 answers
136 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 ...
Charalampos Charalampous's user avatar
0 votes
1 answer
701 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 ...
Charalampos Charalampous's user avatar
0 votes
0 answers
116 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 ...
akshay's user avatar
  • 11
0 votes
1 answer
764 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 ...
BennKingy's user avatar
  • 416
0 votes
1 answer
405 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 ...
abhishek23 Negi's user avatar
0 votes
1 answer
232 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.
SHREYA SINGH's user avatar
0 votes
1 answer
891 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 ...
ijones's user avatar
  • 3
1 vote
1 answer
662 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' ...
Samuel's user avatar
  • 19
1 vote
2 answers
537 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 (...
JJD's user avatar
  • 493
1 vote
4 answers
1k 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-...
Henrique Serafim's user avatar
0 votes
1 answer
217 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 ...
Will Ho's user avatar
0 votes
2 answers
919 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 ...
Martin Braun's user avatar
4 votes
2 answers
1k 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? ...
JJD's user avatar
  • 493
0 votes
0 answers
265 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" ...
Leonardo David's user avatar
2 votes
2 answers
2k 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/...
Sam's user avatar
  • 121
1 vote
1 answer
1k 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 ...
Random I.T's user avatar
1 vote
0 answers
97 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 ...
Random I.T's user avatar
0 votes
1 answer
735 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 ...
KumarV's user avatar
  • 2,660
1 vote
1 answer
369 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 ...
Joel-Homan's user avatar
1 vote
2 answers
517 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 ...
rio's user avatar
  • 111
5 votes
1 answer
409 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 ...
Sam Wallis's user avatar
1 vote
0 answers
339 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 ...
Hardik's user avatar
  • 7,733
0 votes
1 answer
2k 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 ...
Dan Sto Domingo's user avatar
1 vote
1 answer
2k 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 ...
Nagarajan's user avatar
4 votes
1 answer
871 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 ...
Peter Hansen's 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?
Burre Ifort's user avatar
  • 1,318
1 vote
1 answer
409 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 ...
tsa's user avatar
  • 11
1 vote
1 answer
2k 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 ...
Aurélien Plantard's user avatar
1 vote
2 answers
4k 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 ...
Aurélien Plantard's 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 ...
kei's user avatar
  • 566
5 votes
2 answers
8k 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?
kei's user avatar
  • 566
1 vote
1 answer
101 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 ...
steveareeno's user avatar
  • 1,185
8 votes
2 answers
460 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 ...
vinit kumar's user avatar
4 votes
1 answer
724 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 ...
ThinkB4Code's user avatar
  • 2,970