0

I am new to SharePoint customization. I want to add a webpart to an existing page layout. I found this tutorial at msdn but I don't understand how to add the real webpart to the page:

https://msdn.microsoft.com/en-us/library/office/jj862341.aspx

My understanding says that I have to add the markup from the msdn article to the page layout. But this is only a zone where I can add the webpart.

How do I add the real webpart to the zone? I clicked around the Design-Manager a little bit but did not found anything where I can do this.

1

The link explains only to place how you can place the dynamic Web Part zone in that page layout.

Once you save and select that page layout in any of your publishing page, you will be able to add a web part in edit page section. Read this article.

If you want to place your custom static Web Part zone in page layout, Though there are different ways to do this you can place the static web part code inside <ZoneTemplate> tag.

Also adding Web Part zone varies as per the SharePoint version, so make sure you tag it.

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.