<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Provisioning Publishing Pages using Features declarative markup</title>
	<atom:link href="http://blog.mastykarz.nl/provisioning-publishing-pages-features-declarative-markup/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mastykarz.nl/provisioning-publishing-pages-features-declarative-markup/</link>
	<description>Innovation Matters &#124; SharePoint Server MVP &#124; ISSN 2210-9390</description>
	<lastBuildDate>Wed, 08 Sep 2010 18:53:38 +0200</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: MOSSist</title>
		<link>http://blog.mastykarz.nl/provisioning-publishing-pages-features-declarative-markup/comment-page-1/#comment-38772</link>
		<dc:creator>MOSSist</dc:creator>
		<pubDate>Wed, 30 Dec 2009 15:25:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/provisioning-publishing-pages-features-declarative-markup/#comment-38772</guid>
		<description>Man, you&#039;re fantastic!
Exactly what I needed - I work in an organisation which doesn&#039;t allow any editing in the Prod environment - everything must be provisioned through WSP&#039;s.</description>
		<content:encoded><![CDATA[<p>Man, you&#039;re fantastic!<br />
Exactly what I needed &#8211; I work in an organisation which doesn&#039;t allow any editing in the Prod environment &#8211; everything must be provisioned through WSP&#039;s.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Jacobus</title>
		<link>http://blog.mastykarz.nl/provisioning-publishing-pages-features-declarative-markup/comment-page-1/#comment-34528</link>
		<dc:creator>David Jacobus</dc:creator>
		<pubDate>Thu, 19 Nov 2009 21:19:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/provisioning-publishing-pages-features-declarative-markup/#comment-34528</guid>
		<description>You can provision a publishing page based upon a feature in SharePoint.  Pretty easy!  When adding web parts to the page that must be acomplished via a feature receiver, payihg attention to check out, and check in of the page. If you would like to see the code, email me</description>
		<content:encoded><![CDATA[<p>You can provision a publishing page based upon a feature in SharePoint.  Pretty easy!  When adding web parts to the page that must be acomplished via a feature receiver, payihg attention to check out, and check in of the page. If you would like to see the code, email me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Hadlee</title>
		<link>http://blog.mastykarz.nl/provisioning-publishing-pages-features-declarative-markup/comment-page-1/#comment-19183</link>
		<dc:creator>Nick Hadlee</dc:creator>
		<pubDate>Wed, 20 May 2009 05:20:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/provisioning-publishing-pages-features-declarative-markup/#comment-19183</guid>
		<description>Sorry I wasn&#039;t very clear in my last question. I meant if you make a change to the page layout that the page references and then deploy that. I don&#039;t mean changing which layout the page uses.

E.g: Make a change to the feature based page layout and then do a feature upgrade to deploy the change. A UI provisioned page will show the changes from the page layout but the feature provisioned page will not. The onyl way I have made the provisioned page show the changes is by reghosting it. Kind of limiting factor if you have a lot of these type of pages deployed which I am hoping is not a &quot;by design&quot; thing.</description>
		<content:encoded><![CDATA[<p>Sorry I wasn&#039;t very clear in my last question. I meant if you make a change to the page layout that the page references and then deploy that. I don&#039;t mean changing which layout the page uses.</p>
<p>E.g: Make a change to the feature based page layout and then do a feature upgrade to deploy the change. A UI provisioned page will show the changes from the page layout but the feature provisioned page will not. The onyl way I have made the provisioned page show the changes is by reghosting it. Kind of limiting factor if you have a lot of these type of pages deployed which I am hoping is not a &#034;by design&#034; thing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waldek Mastykarz</title>
		<link>http://blog.mastykarz.nl/provisioning-publishing-pages-features-declarative-markup/comment-page-1/#comment-19181</link>
		<dc:creator>Waldek Mastykarz</dc:creator>
		<pubDate>Wed, 20 May 2009 05:11:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/provisioning-publishing-pages-features-declarative-markup/#comment-19181</guid>
		<description>@Nick Hadlee: I haven&#039;t tested changing the Page Layout yet. As changing anything else in SharePoint I wouldn&#039;t expect this to work declaratively and would use code instead.</description>
		<content:encoded><![CDATA[<p>@Nick Hadlee: I haven&#039;t tested changing the Page Layout yet. As changing anything else in SharePoint I wouldn&#039;t expect this to work declaratively and would use code instead.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Hadlee</title>
		<link>http://blog.mastykarz.nl/provisioning-publishing-pages-features-declarative-markup/comment-page-1/#comment-19169</link>
		<dc:creator>Nick Hadlee</dc:creator>
		<pubDate>Wed, 20 May 2009 02:12:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/provisioning-publishing-pages-features-declarative-markup/#comment-19169</guid>
		<description>I&#039;ve been having a bit of a &lt;a href=&quot;http://www.sharepointnutsandbolts.com/2007/07/considerations-when-using-features-to.html&quot; rel=&quot;nofollow&quot;&gt;discussion with Chris O&#039;Brien&lt;/a&gt; regarding some behavior I have noticed when using this exact approach. He pointed me to your post so...

Have you tested/needed to update the page layout the provisioned page relies on and seen whether the provisioned page reflects these updates? So far I have only managed to make the page take on the page layout changes by a dettach/reatttach type hack.

Cheers,
Nick Hadlee</description>
		<content:encoded><![CDATA[<p>I&#039;ve been having a bit of a <a href="http://www.sharepointnutsandbolts.com/2007/07/considerations-when-using-features-to.html" rel="nofollow">discussion with Chris O&#039;Brien</a> regarding some behavior I have noticed when using this exact approach. He pointed me to your post so&#8230;</p>
<p>Have you tested/needed to update the page layout the provisioned page relies on and seen whether the provisioned page reflects these updates? So far I have only managed to make the page take on the page layout changes by a dettach/reatttach type hack.</p>
<p>Cheers,<br />
Nick Hadlee</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waldek Mastykarz</title>
		<link>http://blog.mastykarz.nl/provisioning-publishing-pages-features-declarative-markup/comment-page-1/#comment-14920</link>
		<dc:creator>Waldek Mastykarz</dc:creator>
		<pubDate>Thu, 02 Apr 2009 16:35:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/provisioning-publishing-pages-features-declarative-markup/#comment-14920</guid>
		<description>@Marius C.: if it was only about preparing the environment a PowerShell script would a suitable solution in my opinion. As I prefer to have the configuration separated from the code however, I&#039;d rather have XML and then an engine to parse it and do the job. Sure you could create such engine using PowerShell but why bother if it&#039;s already available within SharePoint AND it&#039;s supported by Microsoft?</description>
		<content:encoded><![CDATA[<p>@Marius C.: if it was only about preparing the environment a PowerShell script would a suitable solution in my opinion. As I prefer to have the configuration separated from the code however, I&#039;d rather have XML and then an engine to parse it and do the job. Sure you could create such engine using PowerShell but why bother if it&#039;s already available within SharePoint AND it&#039;s supported by Microsoft?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marius C.</title>
		<link>http://blog.mastykarz.nl/provisioning-publishing-pages-features-declarative-markup/comment-page-1/#comment-14907</link>
		<dc:creator>Marius C.</dc:creator>
		<pubDate>Thu, 02 Apr 2009 12:43:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/provisioning-publishing-pages-features-declarative-markup/#comment-14907</guid>
		<description>Really nice investigation indeed! However, if the customer really wants the ready-system, shouldn&#039;t a list back using one of available Powershell scripts (Fabrice Romerland has one on CodePlex) should be also an option, considering that Pages Library is still a Library afterall? (Obviously we assume that content types are already pre-defined accordingly)!
Still it remains the problem of customized vs uncustomized pages on subsequent stages, updates..etc. (stsadmextractfiles extension is really usefull to extract all SP designer changed files from Content DB).

Regards, Marius C.</description>
		<content:encoded><![CDATA[<p>Really nice investigation indeed! However, if the customer really wants the ready-system, shouldn&#039;t a list back using one of available Powershell scripts (Fabrice Romerland has one on CodePlex) should be also an option, considering that Pages Library is still a Library afterall? (Obviously we assume that content types are already pre-defined accordingly)!<br />
Still it remains the problem of customized vs uncustomized pages on subsequent stages, updates..etc. (stsadmextractfiles extension is really usefull to extract all SP designer changed files from Content DB).</p>
<p>Regards, Marius C.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waldek Mastykarz</title>
		<link>http://blog.mastykarz.nl/provisioning-publishing-pages-features-declarative-markup/comment-page-1/#comment-14842</link>
		<dc:creator>Waldek Mastykarz</dc:creator>
		<pubDate>Wed, 01 Apr 2009 14:18:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/provisioning-publishing-pages-features-declarative-markup/#comment-14842</guid>
		<description>@Andy: you can bind a Content Type to a List either programmatically or declaratively. To do that declaratively you can use the ContentTypeBinding element of a Feature (http://msdn.microsoft.com/en-us/library/aa543152.aspx)</description>
		<content:encoded><![CDATA[<p>@Andy: you can bind a Content Type to a List either programmatically or declaratively. To do that declaratively you can use the ContentTypeBinding element of a Feature (<a href="http://msdn.microsoft.com/en-us/library/aa543152.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/aa543152.aspx</a>)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Burns</title>
		<link>http://blog.mastykarz.nl/provisioning-publishing-pages-features-declarative-markup/comment-page-1/#comment-14837</link>
		<dc:creator>Andy Burns</dc:creator>
		<pubDate>Wed, 01 Apr 2009 12:53:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/provisioning-publishing-pages-features-declarative-markup/#comment-14837</guid>
		<description>&quot;Content Type must be bound to the Pages Library&quot;

Damn - that&#039;s exactly the problem I had a week ago. I should&#039;ve thought of that. It&#039;s a bit frustrating though, the way that if you go to a Pages library and click on, &quot;New &gt; Article Page&quot; it takes you to a list of all the available content types for the site - I wouldn&#039;t expect that. And then the available content types is determined by the &#039;Page Layouts&#039; section of the &#039;Site Settings&#039; - I didn&#039;t expect that either. 

So it&#039;s all a bit confused as to how important that binding to the library itself is - but I must have missed doing that in my site definition. Damn.

Thanks for describing the problem though. Do you have code on how to do that binding declaratively?</description>
		<content:encoded><![CDATA[<p>&#034;Content Type must be bound to the Pages Library&#034;</p>
<p>Damn &#8211; that&#039;s exactly the problem I had a week ago. I should&#039;ve thought of that. It&#039;s a bit frustrating though, the way that if you go to a Pages library and click on, &#034;New &gt; Article Page&#034; it takes you to a list of all the available content types for the site &#8211; I wouldn&#039;t expect that. And then the available content types is determined by the &#039;Page Layouts&#039; section of the &#039;Site Settings&#039; &#8211; I didn&#039;t expect that either. </p>
<p>So it&#039;s all a bit confused as to how important that binding to the library itself is &#8211; but I must have missed doing that in my site definition. Damn.</p>
<p>Thanks for describing the problem though. Do you have code on how to do that binding declaratively?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
