3

I am working on modern team site page provisioning using pnp powershell. We are trying to add the world clock webpart on page, but we are not getting the internal name of the world clock webpart to add it on the page. Where can we get the internal name of the world clock or all the OOTB webpart internal name.? Thank you for the help!

1 Answer 1

2

I would add the web part as custom using the ID, for example:

Add-PnPClientSideWebPart -Page $homePage -Component "b519c4f1-5cf7-4586-a678-2f1c62cc175a" -Section 1 -Column 1

You can find the ID by adding the part to the page and inspecting the element in dev tools. Search for data-sp-feature-instance-id.

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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