0

I´m trying to add a WebPart to a modern page via PnP.

Add-PnPClientSideWebPart -Page "home.aspx" -DefaultWebPartType ContentRollup -Section 3 -Column 1 -WebPartProperties @{layoutid="List"}

It should be a list layout. But I´m getting a grid layout.

What is wrong?

Thanks!

Viktor

0

You should put quotes around "layoutID" and try again.

  • The same behavior. – Viktor May 31 at 7:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.