question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support Page Environment dynamic properties on PropertyPanePropertyEditor

See original GitHub issue

Category

  • Enhancement
  • Bug
  • Question

Version

Please specify what version of the library you are using: [2.3.0]

Expected / Desired Behavior / Question

Right now all DynamicProperty settings are ignored on import. For WebPart ones it might make sense as id’s are changing. For PageContext ones they should work as they exist everywhere.

https://github.com/pnp/sp-dev-fx-property-controls/blob/master/src/propertyFields/propertyEditor/PropertyPanePropertyEditorHost.tsx#L46

We would like to use this for the PnP Modern Search web parts, at least for scenarios where page context dynamic data is consumed.

Observed Behavior

PageContext dynamic properties are being ignored on Apply when importing web part properties.

Steps to Reproduce

Import settings with dynamic data and they are not set.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
AJIXuMuKcommented, Mar 2, 2021

v2.4.0 has been released.

1reaction
wobbacommented, Feb 17, 2021

@AJIXuMuK works like expected 😃 Thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

PropertyPanePropertyEditor - @pnp/spfx-property-controls
This control allows the user to edit the webpart properties in JSON. It can also be used to export properties of a webpart...
Read more >
Dynamically setting environment variables via properties
I need to append a value to to the path environment variable - this is the path to some software that may (or...
Read more >
How to configure dynamic properties while using spring boot?
I know I can use Spring Configuration to externalize my properties e.g. db connection details. But I also have other dynamic properties ......
Read more >
NF. This article walks you through a couple of different ...
Knowing the SharePoint environment and if the page is edit mode will allow you to ... the dropdown field in the property pane...
Read more >
How to add dynamic property panes in spfx - TechNet - Microsoft
I am working on one web part where user have to give Id in property pane and using that ID user is navigated...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found