0

enter image description hereI have a page which has already a web part and I need to add another web part zone.

enter image description here

Can you please help me with this?

enter image description here

enter image description here

2 Answers 2

2

What's the problem with you?

You can add another web part by clicking "Add a Web Part" button as your screenshot.

Update:

If your page is in Site Pages library, you can go to SharePoint Designer->Site pages in the left pane->find the page and Edit File in advanced mode.

Add insert Web Part Zone via click the botton:

enter image description here

8
  • Sorry I wasn't clear, I want to add another Webpart zone, not just adding another webpart.
    – Harris
    Commented Nov 22, 2019 at 3:36
  • I believe this is code is for the one I have highlighted in the screenshot.
    – Harris
    Commented Nov 22, 2019 at 3:41
  • <WebPartPages:WebPartZone runat="server" FrameType="None" ID="Main" Title="loc:Main"><ZoneTemplate> <WebPartPages:ListFormWebPart runat="server" __MarkupType="xmlmarkup" WebPart="true" __WebPartId="{C99D07A6-B0DC-4A10-992E-E9DAB06CF56B}" > <WebPart xmlns:xsd="w3.org/2001/XMLSchema" xmlns:xsi="w3.org/2001/XMLSchema-instance" xmlns="schemas.microsoft.com/WebPart/v2">
    – Harris
    Commented Nov 22, 2019 at 3:41
  • I edit the reply above, you can check it. Commented Nov 22, 2019 at 5:33
  • mine is greyed out.
    – Harris
    Commented Nov 22, 2019 at 5:40
1

In Order to add a new WebPart Zone you need to create a custom Page Layout and use that page layout to create your SharePoint Pages OR you can edit your page in SharePoint Designer and add below code snippet to it.

Reference: Create a Custom Page Layout in SharePoint.

Then you can add below code snippet to add webpart zone to your custom page layout:

<WebPartPages:WebPartZone runat="server" Title="TestZoneTitle1" ID="TestZoneID1">
    <ZoneTemplate></ZoneTemplate>
</WebPartPages:WebPartZone>

Reference: Add a web part zone snippet in SharePoint.

Notes:

  1. Make sure you are putting this snippet inside <asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server"> block.
  2. Make sure you are passing different ID to webpart zone if you are adding multiple webpart zones on your page.
5
  • Thanks Ganesh, What about adding the WebPart Zone to existing page? I already have the custom page and I need to update the page with more PageLayout Zone.
    – Harris
    Commented Nov 22, 2019 at 5:21
  • Try editing this particular page in SharePoint Designer and add the code snippet given in my answer to your page....Make sure you are passing different ID to webpart zone if you are adding multiple webpart zones on your page. Check my updated answer. Commented Nov 22, 2019 at 5:23
  • I just updated the page in SharePoint designer and added your code under the other WebPart Zone, however when I save the it I get lots of &nbsp;&nbsp;&nbsp in there.
    – Harris
    Commented Nov 22, 2019 at 5:33
  • Remove the unwanted content and save it again (check-in if required). Is webpart zone added on page?? Commented Nov 22, 2019 at 6:27
  • Hi, Have you figured it out? If this answer helps you please upvote ( ^ ) and accept it as an answer. Commented Nov 25, 2019 at 8:13

Your Answer

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

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