Site pages

For site page migration, these layouts are used:

  • MasterPanel -> Unbound body cell with style = PageWrapper
  • MasterPage ->
    • Header with FieldDisplayFormat = “MasterTopHeaderGrid” and FDF style = “AlignCenter”
    • Body with FieldDisplayFormat = “IPFText“, style = “PageWrapper”, and data = “Body Here”
    • Footer with FieldDisplayFormat = “MasterBottomHeaderGrid” and FDF style = “AlignCenter”

Also, these FDFs are used:

  • MasterPanel -> IPF Grid using the MasterPanel layout
  • MasterPage -> IPF Grid using the MasterPage layout

These styles are used on the FDFs: PageBody, AlignCenter, and ipf-contentasminwidth.

During migration of an IPF 3.x Installed Site Page, the import process parses the file and pulls out this information:

  • <IpfInstalledSitePage> -> Name attribute
  • <IpfInstalledSitePage> -> Version attribute
  • <IpfInstalledSitePage> -> Originator attribute
  • <IpfInstalledSitePage>/<PageTitle> -> inner text
  • <IpfInstalledSitePage</<IPFStyles> -> inner text
  • <IpfInstalledSitePage>/<IPFFeature> -> inner text
  • <IpfInstalledSitePage>/<IPFHTMLFile> -> CDATA -> <%@ Page> -> MasterPageFile attribute
  • For each <IpfInstalledSitePage>/<IPFHTMLFileWebParts>/<ipfWebPart> tag:
    • FieldDisplayFormatName
    • MenuStyleProp
    • LayoutForm

If there is more than one ipfWebPart tag, an error message is displayed in Portal Manager. Import works only on IPF Installed Site Pages with one Web part.

Also, if FieldDisplayFormatName and LayoutForm are not specified, an error message is displayed indicating that the site page does not refer to any content and cannot be imported.

If FieldDisplayFormatName is not specified, then FieldDisplayFormatName is set to <LayoutForm from parsed XML>Grid and IPFGrid FieldDisplayFormatSpec is created:

  • Name = FieldDisplayFormatName
  • Layout = <LayoutForm from parsed XML>
  • Styles = <MenuStyleProp from parsed XML>
  • Rows = 1
  • Columns = 1

<MenuStyleProp from parsed XML > is set to “not specified”.

If the site page uses IPFPanel.master, such as, MasterPageFile = "~site/_catalogs/masterpage/IPFPanel.master", this SitePageSpec is created:

  • Name = <Name from parsed XML>
  • Originator = <Originator from parsed XML>
  • Feature = <Feature from parsed XML >
  • FullPathPrefix = “/IPFSitePages/”
  • PageTitle = <PageTitle from parsed XML>
  • PageStyle = null
  • FDFSpecName = "MasterPanel"
  • ComponentFDFOverrides -> Add entry with name = “body” and value = <FieldDisplayFormatName from parsed XML>

If the site page uses IPFGrid.master, such as MasterPageFile = “~masterurl/custom.master”, this SitePageSpec is created:

  • Name = <Name from parsed XML>
  • Originator = <Originator from parsed XML>
  • Feature = <Feature from parsed XML>
  • FullPathPrefix = “/IPFSitePages/”
  • PageTitle = <PageTitle from parsed XML>
  • PageStyle = null
  • FDFSpecName = "MasterPage"
  • ComponentFDFOverrides -> Add entry with name = “body” and value = <FieldDisplayFormatName from parsed XML>