Replies: 5 comments
-
Should be doable. Try a manual edit and compare with the JSON you set, and remember to republish the page for end-users. |
Beta Was this translation helpful? Give feedback.
-
Hi @HeKr09, did you success with your PowerShell script? Can we close this issue? Thanks |
Beta Was this translation helpful? Give feedback.
-
Sorry I did not succeed right now. Could you let it open please? |
Beta Was this translation helpful? Give feedback.
-
I'll tag it as documentation if someone wants to contribute a sample on how to do this. |
Beta Was this translation helpful? Give feedback.
-
Hi @HeKr09 , so you want to update the configuration of the PnP Search Refiner on a specific set of pages based on the configuration on your "master/template" page? Is that correct? |
Beta Was this translation helpful? Give feedback.
-
Version used
4.1
Question
I have got 60 pages with a search box, search results and search filters. The filters all have the same configuration. The customer now wants to have 5 new filters in all 60 pages. Is there a chance to run a script to configure all 60 web parts at once? I don't want to configure it manually. I tried a PowerShell script but it was not successful.
Additional context
I am using the following PowerShell.
Although the script runs no filters are shown in the target page. The web part is changed and the configuration is stored as I can see in edit mode but there are no filters in read mode.
Anyone an idea?
Beta Was this translation helpful? Give feedback.
All reactions