PNP Powershell - how to set WebPartProperty value for the key "xmlDefinition"?

Copper Contributor

I have to set the key "xmlDefinition" within a WebPart and tried to use "Set-pnpWebPartProperty" at PowerShell console.

 

But each time after i set the new value for my WebPart, the key"xmlDefinition" still uses the old value. How should the value look like? I think my value is not accepted. 

 

My value looks like this..

<View Name="{409E.....

0 Replies