Dilemma: I am trying to create/edit a publishing page layout with jQuery accordions that pull in dynamic page properties. When I implement my solution, it works; however, I am no longer able to edit the page layout as I receive this error:
soap:ServerServer was unable to process request. ---> An unexpected error occurred while opening this page. For assistance, contact your site administrator.
Its an odd error: I am able to continue to create new pages using my page layout with no errors; I just cannot edit the page layout anymore.
As a workaround, I thought I would use a CEWP and insert my jQuery via a text file. This worked but my dynamic page properties does not pull in when I use a CEWP.
- Why is SharePoint giving me an error with jQuery and page layouts?
- Alternatively, how can I pull in SharePoint page properties in my CEWP?
In the CEWP, I am using:
<Sharepointwebcontrols:noteField FieldName="PublishingPageContent" runat="server"/>
Which worked in my page layout but does not in my CEWP.