<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Eigil M</title><link>http://blogs.msdn.com/eigilm/default.aspx</link><description>This blogs is about SharePoint (MOSS) 2007 and Commerce Server 2007 and some of the things i have come across as a Microsoft Consultant</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Web part zone adapter</title><link>http://blogs.msdn.com/eigilm/archive/2008/10/07/web-part-zone-adapter.aspx</link><pubDate>Tue, 07 Oct 2008 15:27:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8984743</guid><dc:creator>eigilm</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/eigilm/comments/8984743.aspx</comments><wfw:commentRss>http://blogs.msdn.com/eigilm/commentrss.aspx?PostID=8984743</wfw:commentRss><description>&lt;P&gt;A lot of people working with public facing web sites and SharePoint 2007 have discovered that the web part zone makes it virtually impossible to have a WCAG complient site, in other words to have a page layout which doesn't use HTML tables for layout purposes. The only possible way to change this is to make a web part zone adapter which renders the web part zone in a DIV based layout instead. The only downside to this approach is that this will break the javascript the zone uses to drag and drop web parts. This downside can be minimized if you only apply the adapter when the page is rendered to the end user, which means when the page is not rendered in edit mode. By doing this the javascript is only broken for the end user, so if the end user shouldn't mess around with web parts, then nothing is lost and the page will be compliant according to WCAG 2.0 (of course you would have to make sure the rest of the HTML is also compliant).&lt;/P&gt;
&lt;P&gt;The below attachment is source code for the adapter with a little instruction in the readme file.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8984743" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/eigilm/attachment/8984743.ashx" length="417624" type="application/x-zip-compressed" /><category domain="http://blogs.msdn.com/eigilm/archive/tags/Adapters/default.aspx">Adapters</category><category domain="http://blogs.msdn.com/eigilm/archive/tags/SharePoint/default.aspx">SharePoint</category></item><item><title>Allow http in Custom and Orders Manager</title><link>http://blogs.msdn.com/eigilm/archive/2008/04/04/allow-http-in-custom-and-orders-manager.aspx</link><pubDate>Fri, 04 Apr 2008 11:55:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8356341</guid><dc:creator>eigilm</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/eigilm/comments/8356341.aspx</comments><wfw:commentRss>http://blogs.msdn.com/eigilm/commentrss.aspx?PostID=8356341</wfw:commentRss><description>&lt;P&gt;This is a little trick to use in your development environment, so you don't have to use SelfSSL to isuue and setup a certificate. Go to %ProgramFiles%\Microsoft Commerce Server 2007\Business User Applications\.&lt;/P&gt;
&lt;P&gt;Go inside the "CustomerandOrdersManager.exe.config" file.&lt;/P&gt;
&lt;P&gt;Find this entry&lt;BR&gt;&amp;lt;setting name="AllowHTTP" serializeAs="String"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;False&amp;lt;/value&amp;gt;&lt;BR&gt;&amp;lt;/setting&amp;gt;&lt;/P&gt;
&lt;P&gt;Change the value to "True" and save the file. Now http is allowed and you don't have to worry about the certificate. This is of course not recommended in a production environment.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8356341" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/eigilm/archive/tags/Commerce+Server/default.aspx">Commerce Server</category></item><item><title>Inherit Content Types</title><link>http://blogs.msdn.com/eigilm/archive/2007/09/04/inherit-content-types.aspx</link><pubDate>Tue, 04 Sep 2007 13:26:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4738553</guid><dc:creator>eigilm</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/eigilm/comments/4738553.aspx</comments><wfw:commentRss>http://blogs.msdn.com/eigilm/commentrss.aspx?PostID=4738553</wfw:commentRss><description>&lt;P mce_keep="true"&gt;&lt;STRONG&gt;Introduction&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;This document describes the content types' hierarchy and how to inherit existing content types. The main reason for making this document is that the standard documentation doesn't contain such a description and it is a part of the SharePoint 2007 server which will be used in any ECM scenario.&lt;/P&gt;&lt;STRONG&gt;Hierarchy &lt;/STRONG&gt;
&lt;P&gt;Content types are ordered in a hierarchy (See attachment below for the whole&amp;nbsp;content type inheritance tree - "&lt;SPAN id=ctl00_ctl00_TaskRegion_Editor1_serverfilename&gt;Appendix A - ContentTypes hierarchy.pdf"&lt;/SPAN&gt;) to enable reuse and to make maintenance easier. This means that all content types inherit from the same base system content type.&lt;/P&gt;
&lt;P&gt;The default content types which are already present in the SharePoint server is found in an XML file which resides in the feature folder: C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\ctypes\ctypeswss.xml. If you want to find the publishing content types they are found here: C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\PublishingResources\PublishingContentTypes.xml. To most important thing to understand when working with content types is that the ID of a content type reveals its base content types and when making your own content type you must provide a unique ID which includes the base content type you wish to inherit from.&lt;/P&gt;
&lt;P&gt;An ID of a content type can be composed in two different ways:&lt;/P&gt;
&lt;P&gt;&lt;I&gt;•1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/I&gt;&lt;I&gt;baseID + 00 + [GUID] (Ex. 0x010100b6ca00b0b50411db96e9005056c00008)&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;•2.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/I&gt;&lt;I&gt;baseID + two hexadecimal values (Ex. 0x0101AA)&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;In the first case you must remove the hyphens (-) from the GUID. In the second case you must make sure that the ID you give is unique within the site collection. Both above examples inherit from the document content type which has ID 0x0101. From the ID of the document content type you can see that it inherits from 0x01 = Item, which inherits from System = 0x, which is the base of all content types. &lt;/P&gt;
&lt;P&gt;The complete hierarchy of content types is found in the appendix A (see attachment). If a content type can't be inherited it is marked as "SEALED = TRUE" in the diagram. Some of the content types shown in the inheritance diagram cannot be found in the SharePoint UI because they have their "Group" attribute set to "_Hidden".&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;STRONG&gt;Best practice&lt;/STRONG&gt; 
&lt;P&gt;When making your own content types follow this best practice: When you make a content type that directly inherits from one of the predefined content types, the use the first approach e.g. &lt;I&gt;base + 00 + GUID&lt;/I&gt;, when inheriting from one of your own custom types, then use the second approach, because now you already have made certain that your own branch is unique and the second approach is much easier to read and thereby makes the inheritance tree structure more transparent.&lt;/P&gt;&lt;STRONG&gt;Tip&lt;/STRONG&gt; 
&lt;P&gt;If you want to see a content types ID, without opening the xml document, then go to the content type gallery, the link to each content type contains a "ctype" parameter which contains the ID.&lt;/P&gt;&lt;/STRONG&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4738553" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/eigilm/attachment/4738553.ashx" length="19799" type="application/pdf" /><category domain="http://blogs.msdn.com/eigilm/archive/tags/Content+Types/default.aspx">Content Types</category><category domain="http://blogs.msdn.com/eigilm/archive/tags/SharePoint/default.aspx">SharePoint</category></item></channel></rss>