0

I have got a custom page layout that I want to create web part zone in.

I have generated below code from Design Manager and added to my page layout.(I had to take screenshot as it is not rendered correctly in the question)

Code

When I try to load the page, I get below error;

Error

Does anyone have any suggestion regarding how to fix this?

Thanks

1 Answer 1

0

Please make sure you are adding the snippet in HTML file not in the ASPX. I faced the same issue, and turned out I was adding the snippet in ASPX page layout file. Once I added it in the HTML file, the same snippet worked.

2
  • I'm trying to do the same and yes, I'm adding this into the ASPX file. Where can I find an HTML file? There are no HTML files in the same folder.
    – user56339
    Commented Aug 23, 2016 at 9:03
  • 1
    Hi @K48 - sorry for late reply, if you are using SharePoint 2013 you will find both the HTML and ASPX files of OOB master pages in Master Page gallery. If you are working on custom master pages, start by using Design Manager.
    – Usman
    Commented Sep 3, 2016 at 18:46

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.