Domanda

Voglio distribuire un nuovo Pagelayout personalizzato, come se l'avessi sempre fatto prima.Sarà schierato senza errori.Appare nella directory 12 nella cartella corretta.La funzione è disponibile e attivata.Ma non riesco a selezionarlo dal nuovo elenco di pagina e non viene visualizzato nella Galleria Masterpage.

Module.xml:

<?xml version="1.0" encoding="utf-8"?>
<Elements Id="8ec1f52c-3eac-49ee-bb5b-7dcc2741f83e" xmlns="http://schemas.microsoft.com/sharepoint/">
  <Module Name="Product Layouts" Url="_catalogs/masterpage" RootWebOnly="True" List="116">
    <File Path="ProductCategory.aspx" Url="ProductCategory.aspx" IgnoreIfAlreadyExists="True" Type="GhostableInLibrary" >
      <Property Name="Title" Value="Product Category Page Layout" />
      <Property Name="ContentType" Value="$Resources:cmscore,contenttype_pagelayout_name;" />
      <Property Name="PublishingAssociatedContentType" Value=";#Product Category Page;#0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF390064DEA0F50FC8C147B0B6EA0636C4A7D40108;#" />
    </File>
  </Module>
</Elements>
.

È stato utile?

Soluzione 2

Well, in the end it was a permissions problem in the database.

Altri suggerimenti

I have tried this procedure and created page layout. Please refer this and confirm whether you done everything.

http://pinnacleofindiana.com/blog/developers/2012/03/28/creating-a-sharepoint-2010-page-layout-with-code-behind/

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top