lundi 9 mars 2015

Site definition on publishing page



when using this code my page layout show in default.aspx,



<%@ Page Inherits="Microsoft.SharePoint.Publishing.TemplateRedirectionPage,Microsoft.SharePoint.Publishing,Version=15.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" %> <%@ Reference VirtualPath="~TemplatePageUrl" %> <%@ Reference VirtualPath="~masterurl/custom.master" %>


But then i get 19 error, like to many characters on line and so on, But when using my code in the top my page layout shows.


But by default when creating a site definiton my default.aspx gets this code. enter image description here


So my questions is the code in the tops works with my page layout but the code in the bottom not so how could i include they togethor?








0 commentaires:

Enregistrer un commentaire