<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Fredrik Haglund's blog &#187; 4.62</title>
	<atom:link href="http://blog.fredrikhaglund.se/blog/tag/462/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.fredrikhaglund.se</link>
	<description>Chatter about EPiServer, ASP.NET, CSS and Web Development.</description>
	<lastBuildDate>Tue, 28 Jun 2011 13:37:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Convert EPiServer Form to XForm</title>
		<link>http://blog.fredrikhaglund.se/blog/2008/03/19/convert-episerver-form-to-xform/</link>
		<comments>http://blog.fredrikhaglund.se/blog/2008/03/19/convert-episerver-form-to-xform/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 16:07:05 +0000</pubDate>
		<dc:creator>Fredrik Haglund</dc:creator>
				<category><![CDATA[EPiServer]]></category>
		<category><![CDATA[4.62]]></category>
		<category><![CDATA[Form]]></category>
		<category><![CDATA[MigrationTool]]></category>
		<category><![CDATA[XForm]]></category>

		<guid isPermaLink="false">http://blog.fredrikhaglund.se/blog/2008/03/19/convert-episerver-form-to-xform/</guid>
		<description><![CDATA[You must get rid of your Form-properties and convert them to EPiServer XForm before you can migrate them to EPiServer 5. You can easily identify all form-properties on you site with some SQL: SELECT pt.pkID AS PageTypeId, pt.Name as PageType, pd.Name AS PropertyName, pt.Filename FROM tblPageDefinition AS pd INNER JOIN tblPageType AS pt ON pd.fkPageTypeID [...]]]></description>
			<content:encoded><![CDATA[<p>You must get rid of your Form-properties and convert them to EPiServer XForm before you can migrate them to EPiServer 5.</p>
<p>You can easily identify all form-properties on you site with some SQL:</p>
<p><code>SELECT pt.pkID AS PageTypeId, pt.Name as PageType, pd.Name AS PropertyName, pt.Filename<br />
FROM tblPageDefinition AS pd<br />
INNER JOIN tblPageType AS pt ON pd.fkPageTypeID = pt.pkID<br />
WHERE (pd.fkPageDefinitionTypeID = 9)<br />
ORDER BY pt.SortOrder, pd.FieldOrder</code></p>
<p><a href="http://blog.fredrikhaglund.se/wp-content/uploads/2008/03/image.png"><img border="0" align="right" width="244" src="http://blog.fredrikhaglund.se/wp-content/uploads/2008/03/image-thumb.png" alt="image" height="226" style="border: 0px" /></a>In admin mode there is a XForm Convert tool that can be used to convert existing Forms into XForms.</p>
<p>One of the differences between Forms and XForms is that the data for a Form is stored on a page but XForms are stored as a separate object in the ObjectStore.</p>
<p>The XForm property on you page only stores a GUID in a string that is a reference to the real XForm instance.</p>
<p>Do not change the type on an existing property from Form to XForm. That will only give you exceptions. Instead, create new properties and delete the old ones.</p>
<p>If you want better control over the conversion process use Lutz Reorder&#8217;s reflector to reverse engineer the class <em>EPiServer.Admin.ConvertFormToXform</em> in EPiServer.CodeBehind.dll.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.fredrikhaglund.se/blog/2008/03/19/convert-episerver-form-to-xform/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

