<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://www.dotnetmafia.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>Corey Roth [MVP] : Document Library</title><link>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Document+Library/default.aspx</link><description>Tags: Document Library</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>Determining the most popular items in a document library in SharePoint 2013</title><link>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2013/03/28/determining-the-most-popular-items-in-a-document-library-in-sharepoint-2013.aspx</link><pubDate>Thu, 28 Mar 2013 19:39:39 GMT</pubDate><guid isPermaLink="false">ceb7fe2a-c56b-4d85-99e6-8dd548580538:6248</guid><dc:creator>CoreyRoth</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.dotnetmafia.com/blogs/dotnettipoftheday/rsscomments.aspx?PostID=6248</wfw:commentRss><comments>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2013/03/28/determining-the-most-popular-items-in-a-document-library-in-sharepoint-2013.aspx#comments</comments><description>&lt;p&gt;With the combination of &lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/07/17/what-you-need-to-know-about-search-in-sharepoint-2013-preview.aspx"&gt;analytics and search&lt;/a&gt; in SharePoint 2013, there is a heap of new features to help determine which content is actually being used.&amp;#160; No longer is this information buried in reports for administrators, but it in fact is available right from the ribbon in a document library.&amp;#160; Maybe you have even noticed the &lt;em&gt;Most Popular Items&lt;/em&gt; button in the ribbon already.&amp;#160; You can find it on the library tab in the middle.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/DocumentLibraryMostPopularItemsRibbonButton_36C6C038.png"&gt;&lt;img title="DocumentLibraryMostPopularItemsRibbonButton" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;display:inline;padding-right:0px;" border="0" alt="DocumentLibraryMostPopularItemsRibbonButton" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/DocumentLibraryMostPopularItemsRibbonButton_thumb_123532B4.png" width="493" height="212" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Click on it and you will be taken to a custom search results screen that shows you recent views and total views.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/MostPopularItemsReport_6AFAE97E.png"&gt;&lt;img title="MostPopularItemsReport" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;display:inline;padding-right:0px;" border="0" alt="MostPopularItemsReport" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/MostPopularItemsReport_thumb_7CD77D4B.png" width="551" height="405" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;What’s nice is that you can even search and refine within the report if you are looking for something specific.&amp;#160; You can also click on the &lt;em&gt;Popularity Trends&lt;/em&gt; link to get a nice graph of the usage of the file over time.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/PopularityTrendsReportExcel_3177D987.png"&gt;&lt;img title="PopularityTrendsReportExcel" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;display:inline;padding-right:0px;" border="0" alt="PopularityTrendsReportExcel" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/PopularityTrendsReportExcel_thumb_70D58D17.png" width="548" height="451" /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;p&gt;Behind the scenes, this report is powered by the &lt;em&gt;Popular&lt;/em&gt; result source.&amp;#160; You can also use this source to look for popular items across your entire index.&amp;#160; As a developer, the possibilities are quite interesting.&lt;/p&gt;  &lt;p&gt;My particular tenant doesn’t have a ton of usage, but if you’re already running SharePoint 2013 you might be able to extract some valuable insights from this report.&amp;#160; Try it out today.&lt;/p&gt;&lt;img src="http://www.dotnetmafia.com/aggbug.aspx?PostID=6248" width="1" height="1"&gt;</description><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Document+Library/default.aspx">Document Library</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Enterprise+Search/default.aspx">Enterprise Search</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint+Online/default.aspx">SharePoint Online</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365/default.aspx">Office 365</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365+Grid/default.aspx">Office 365 Grid</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint+2013/default.aspx">SharePoint 2013</category></item><item><title>SharePoint Workspace Error: Data in this list references content type "", which is no longer in the list schema</title><link>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2011/05/16/sharepoint-workspace-error-data-in-this-list-references-content-type-quot-quot-which-is-no-longer-in-the-list-schema.aspx</link><pubDate>Mon, 16 May 2011 20:10:27 GMT</pubDate><guid isPermaLink="false">ceb7fe2a-c56b-4d85-99e6-8dd548580538:4687</guid><dc:creator>CoreyRoth</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.dotnetmafia.com/blogs/dotnettipoftheday/rsscomments.aspx?PostID=4687</wfw:commentRss><comments>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2011/05/16/sharepoint-workspace-error-data-in-this-list-references-content-type-quot-quot-which-is-no-longer-in-the-list-schema.aspx#comments</comments><description>&lt;p&gt;My team and I have come to rely on SharePoint Workspace for our current project on a daily basis.&amp;#160; Most of us never even open a web browser even and browse project documents solely by using SharePoint Workspace.&amp;#160; It’s a great tool and allows us to grab a copy of the latest documents and view them offline on the airplane or wherever.&amp;#160; Leave it up to us to also find a way to break it.&amp;#160; Back in April our world came crashing to a halt when all of the sudden, SharePoint Workspace would no longer sync our document library.&amp;#160; When trying to sync we were met with the following error.&amp;#160; Here is what you saw when you click on &lt;em&gt;Resolve&lt;/em&gt; in the ribbon.&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Data in this list references content type &amp;quot;&amp;quot;, which is no longer in the list schema.&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;Doing a quick search on the Internet quickly yielded nothing.&amp;#160; In our case, no changes to the document library occurred.&amp;#160; The schema was the same and the only thing new was that documents were uploaded on a daily basis.&amp;#160; I tried various things but could not come up with a solution.&amp;#160; I finally relented and burned one of my MSDN subscription support incidents.&amp;#160; The support engineer, Patrick Gan, immediately suspected OneNote.&amp;#160; We have used OneNote pretty heavily on this project.&amp;#160; He did some testing on his end and eventually he was able to reproduce the problem.&amp;#160; As a result, I moved all of my OneNote files out of the library and tried to synchronize again and sure enough the issue went away.&lt;/p&gt;  &lt;p&gt;Now, it turns out, not all OneNote files cause the issue.&amp;#160; Individual .one files are fine.&amp;#160; There are also OneNote files with an extension of .onetoc2, .onebin and .onepkg.&amp;#160; I believe it to be one of these two file extensions that causes the problem but never narrowed down which one.&amp;#160; It appears that when you make use of the File –&amp;gt; Share menu in OneNote when it published your notes to a document library these files get created and the synchronization errors occur.&amp;#160; The support engineer also mentioned that OneNote creates folders when you share this way that may be the cause of the issue.&amp;#160; In those folders is where the .onebin file is stored so that may be the case.&lt;/p&gt;  &lt;p&gt;Another workaround that I have received is to open the offending notebook in OneNote, click the &lt;em&gt;File &lt;/em&gt;tab and then click &lt;em&gt;View Sync Status&lt;/em&gt;.&amp;#160; From there, click on &lt;em&gt;Work Offline&lt;/em&gt;.&amp;#160; This will prevent OneNote from resyncing files to that particular library.&amp;#160; I created a new document library for now that just has my OneNote files in it.&amp;#160; I then used the &lt;em&gt;Change Location &lt;/em&gt;button to choose the new document library.&amp;#160; At this point, you may need to go in and clean up the unwanted .one* files in the previous document library.&amp;#160; It should sync at this point, but if it doesn’t, disconnect the existing library from the workspace and recreate it and it should work.&lt;/p&gt;  &lt;p&gt;If you receive the above issue, hopefully one of the stated workarounds will resolve your issue.&amp;#160; On the bright side, this is classified as an official bug and there will be a fix “in the very near future” (whatever that means).&amp;#160; Until a fix is available, try these workarounds.&amp;#160; Thanks to Patrick once again for assisting us in resolving the issue.&lt;/p&gt;&lt;img src="http://www.dotnetmafia.com/aggbug.aspx?PostID=4687" width="1" height="1"&gt;</description><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Document+Library/default.aspx">Document Library</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Error/default.aspx">Error</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint+2010/default.aspx">SharePoint 2010</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint+Workspace/default.aspx">SharePoint Workspace</category></item><item><title>Spice up your ECM with Ratings in SharePoint 2010!</title><link>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2010/11/22/spice-up-your-ecm-with-ratings-in-sharepoint-2010.aspx</link><pubDate>Mon, 22 Nov 2010 16:23:34 GMT</pubDate><guid isPermaLink="false">ceb7fe2a-c56b-4d85-99e6-8dd548580538:4211</guid><dc:creator>CoreyRoth</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.dotnetmafia.com/blogs/dotnettipoftheday/rsscomments.aspx?PostID=4211</wfw:commentRss><comments>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2010/11/22/spice-up-your-ecm-with-ratings-in-sharepoint-2010.aspx#comments</comments><description>&lt;p&gt;At &lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2010/11/14/slides-from-my-talk-at-tulsa-techfest-2010.aspx"&gt;Tulsa TechFest&lt;/a&gt;, I gave a talk about the various new ECM features available out of the box in SharePoint 2010.&amp;#160; One feature of particular interest to the crowd was average ratings.&amp;#160; I had lots of questions on it so I thought it was worth a blog post.&amp;#160; Instead of describing it first, let’s start with a picture.&lt;/p&gt;  &lt;p align="left"&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/DocumentLibraryViewWithRatings_0C79F837.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="DocumentLibraryViewWithRatings" border="0" alt="DocumentLibraryViewWithRatings" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/DocumentLibraryViewWithRatings_thumb_19E00B3D.png" width="585" height="219" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;As you can see in the above picture, ratings are a new field available which gives users the ability to rate each document using stars just like they might do in iTunes or any other application.&amp;#160; Behind the scenes, it takes the ratings of each user and a timer job comes along periodically and calculates the average rating.&amp;#160; This allows users to quickly determine which documents are the most popular when viewing a document library.&amp;#160; You can also sort on this field as well.&amp;#160; It’s easy to add to both your document libraries and content types.&lt;/p&gt;  &lt;p&gt;In reality, Ratings are nothing more than a site column, but SharePoint 2010 makes it really easy to add them to an existing document library.&amp;#160; Just click on &lt;em&gt;Library Settings&lt;/em&gt; in the ribbon and then &lt;em&gt;Ratings settings&lt;/em&gt;.&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/DocumentLibraryEnableRatings_000BD50E.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="DocumentLibraryEnableRatings" border="0" alt="DocumentLibraryEnableRatings" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/DocumentLibraryEnableRatings_thumb_71CD5C1D.png" width="491" height="126" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;One you do that, two new site columns are added to your document library, &lt;em&gt;Rating (0-5)&lt;/em&gt; and &lt;em&gt;Number of Ratings.&amp;#160; &lt;/em&gt;The Rating (0-5) site column, named &lt;em&gt;AverageRating &lt;/em&gt;internally, is the column users interact with.&amp;#160; Users can’t edit the &lt;em&gt;Number of Ratings&lt;/em&gt; column, named &lt;em&gt;RatingCount &lt;/em&gt;internally.&amp;#160; The timer job just uses it to help calculate the average.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/DocumentLibraryRatingsSiteColumns_384A4C26.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="DocumentLibraryRatingsSiteColumns" border="0" alt="DocumentLibraryRatingsSiteColumns" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/DocumentLibraryRatingsSiteColumns_thumb_57F925EE.png" width="244" height="153" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;At this point, your users can start rating documents.&amp;#160; It’s that simple.&amp;#160;&amp;#160; When you view the properties on a document, you will see the average rating and the number of ratings as well.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/DocumentLibraryItemPropertiesWithRatings_263E0899.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="DocumentLibraryItemPropertiesWithRatings" border="0" alt="DocumentLibraryItemPropertiesWithRatings" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/DocumentLibraryItemPropertiesWithRatings_thumb_3AC35817.png" width="295" height="289" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;In reality, you can actually just add the above two site columns to any list or content type and have ratings work.&amp;#160; I have actually started including these in my base content type on most ECM deployments.&amp;#160; This is a content type that I use in lieu of the &lt;em&gt;Document &lt;/em&gt;content type which has additional site columns.&amp;#160; All other content types I create will inherit from this one.&amp;#160; It adds great functionality to every content type that inherits from it.&amp;#160; If some people don’t like the ratings on their documents, they can always just remove it from the view on his or her document library.&amp;#160; &lt;/p&gt;  &lt;p&gt;To add the columns to a content type, just click the &lt;em&gt;Add from existing site columns&lt;/em&gt; link on your content type page.&amp;#160; You will find the two columns listed in the &lt;em&gt;Ratings Group.&amp;#160; &lt;/em&gt;You will want to add both of them to your content type.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/ContentTypeRatingsColumns_5352F567.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="ContentTypeRatingsColumns" border="0" alt="ContentTypeRatingsColumns" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/ContentTypeRatingsColumns_thumb_6BE292B7.png" width="567" height="258" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;When you add one of these columns, you will get a warning stating that some earlier versions of Office cannot use these fields.&amp;#160; If you are using Office 2007 or earlier, you may want to test this out some to see if it will be an issue in your organization.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/ContentTypeRatingsWarning_0B25398B.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="ContentTypeRatingsWarning" border="0" alt="ContentTypeRatingsWarning" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/ContentTypeRatingsWarning_thumb_78DC72C8.png" width="392" height="154" /&gt;&lt;/a&gt;&lt;/p&gt;      &lt;p&gt;Once you click OK, your content type is ready for use.&amp;#160; Now, I would be a bad blogger if I didn’t show you how to add these fields using CAML.&amp;#160; If you want to add these two fields to a content type, just add the following elements to the &lt;em&gt;FieldRefs&lt;/em&gt; element.&lt;/p&gt;  &lt;div style="font-family:consolas;background:white;color:black;font-size:10pt;"&gt;   &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;FieldRef&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;ID&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;{5a14d1ab-1513-48c7-97b3-657a5ba6c742}&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;AverageRating&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; /&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;FieldRef&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;ID&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;{b1996002-9167-45e5-a4df-b2c41c6723c7}&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;RatingCount&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; /&amp;gt;&lt;/span&gt;&lt;/p&gt; &lt;/div&gt;   &lt;p&gt;Since these fields are included out-of-the-box, I believe those GUIDs should always be the same.&amp;#160; If I’m wrong, someone let me know.&amp;#160; You can also add these fields to document libraries as well.&amp;#160; Just add the following Field elements to the &lt;em&gt;Fields&lt;/em&gt; element in your schema.xml.&lt;/p&gt;  &lt;div style="font-family:consolas;background:white;color:black;font-size:10pt;"&gt;   &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Field&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;ID&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;{5a14d1ab-1513-48c7-97b3-657a5ba6c742}&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;AverageRating&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;StaticName&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;AverageRating&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;DisplayName&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;Rating (0-5)&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Description&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;Average value of all the ratings that have been submitted&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Group&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;Ratings&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Type&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;AverageRating&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Decimals&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;2&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Min&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;0&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Max&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;5&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;ShowInEditForm&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;TRUE&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;ShowInDisplayForm&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;TRUE&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;ShowInNewForm&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;FALSE&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;SourceID&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;http://schemas.microsoft.com/sharepoint/v3&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;RowOrdinal&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;0&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; /&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Field&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;ID&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;{b1996002-9167-45e5-a4df-b2c41c6723c7}&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;RatingCount&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;StaticName&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;RatingCount&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;DisplayName&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;Number of Ratings&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Description&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;Number of ratings submitted&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Group&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;Ratings&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Type&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;RatingCount&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Min&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;0&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Decimals&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;0&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;ShowInEditForm&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;FALSE&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;ShowInDisplayForm&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;TRUE&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;ShowInNewForm&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;FALSE&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;SourceID&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;http://schemas.microsoft.com/sharepoint/v3&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;RowOrdinal&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;0&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; /&amp;gt;&lt;/span&gt;&lt;/p&gt; &lt;/div&gt;   &lt;p&gt;Try out document ratings today.&amp;#160; They provide a lot of functionality and are quite easy to implement.&lt;/p&gt;&lt;img src="http://www.dotnetmafia.com/aggbug.aspx?PostID=4211" width="1" height="1"&gt;</description><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Document+Library/default.aspx">Document Library</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint+2010/default.aspx">SharePoint 2010</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/ECM/default.aspx">ECM</category></item><item><title>Files uploaded to the wrong folder in a document library</title><link>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2010/03/10/files-uploaded-to-the-wrong-folder-in-a-document-library.aspx</link><pubDate>Wed, 10 Mar 2010 16:30:56 GMT</pubDate><guid isPermaLink="false">ceb7fe2a-c56b-4d85-99e6-8dd548580538:2941</guid><dc:creator>CoreyRoth</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.dotnetmafia.com/blogs/dotnettipoftheday/rsscomments.aspx?PostID=2941</wfw:commentRss><comments>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2010/03/10/files-uploaded-to-the-wrong-folder-in-a-document-library.aspx#comments</comments><description>&lt;p&gt;This is kind of a weird one so I thought it was definitely worth posting.&amp;#160; Recently we were doing some integration testing where an external application was linking directly to specific folders.&amp;#160; The users would then upload a document in that folder and then they could not find their file.&amp;#160; Where was the file?&amp;#160; Well it was sitting in the root folder for some reason.&amp;#160; Consider the following URL that was being used.&lt;/p&gt;  &lt;p&gt;&lt;em&gt;http://moss-server/MySiteCollection/MySite/DocumentLibrary/SubFolder&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;This can also be expressed like this using the RootFolder parameter.&lt;/p&gt;  &lt;p&gt;&lt;em&gt;http://moss-server/MySiteCollection/MySite/DocumentLibrary/Allitems.aspx?RootFolder=/MySiteCollection/MySite/DocumentLibrary/SubFolder&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;The application linking to us was using a path very similar to the ones above.&amp;#160; However, when the user tried to upload the file after coming from that external application, the file they uploaded would be sitting in the root folder every time.&amp;#160; It was strange because, the user was in the correct folder when they followed the link, but when they clicked Upload I noticed the breadcrumb did not have the subfolder listed in it.&amp;#160; When I tried browsing to the folder in SharePoint and uploading it worked correctly.&amp;#160; Something strange was definitely going on.&amp;#160; I started examining everything and I took a look at the link they were using to get to us.&amp;#160; Here is what they were using.&lt;/p&gt;  &lt;p&gt;&lt;em&gt;http://moss-server/mysitecollection/mysite/documentlibrary/subfolder&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;Notice the difference?&amp;#160; Exactly, the URL they were using was all lower case. I thought surely case sensitivity wouldn’t be the cause.&amp;#160; I corrected the case in the application and sure enough files started going into the correct folder.&amp;#160; I couldn’t find anything on the internet about this at all until I discovered the case sensitivity and found this &lt;a href="http://snahta.blogspot.com/2009/11/rootfolder-query-string-bug.html"&gt;post&lt;/a&gt; that confirmed a similar issue.&amp;#160; If you don’t believe me, go to any document library on your server and try changing the case and see what happens. :)&lt;/p&gt;  &lt;p&gt;What it comes down is that the case matters in the URL on everything after the server name.&amp;#160; I created the site collection as MySiteCollection (ok no I really don’t have a site collection named this, but this is an example :) ), so that means any time you have a URL the case better match.&amp;#160; The problem is you might not remember how you set the case up when you created the site, site collection, or document library.&amp;#160; If you don’t there is an easy way to figure it out, just browse to the subfolder you want and copy the URL from your browser.&amp;#160; If you URL decode the RootFolder querystring parameter you will see the casing that should be used.&amp;#160; I hope this helps in case you happen to run into it.&lt;/p&gt;&lt;img src="http://www.dotnetmafia.com/aggbug.aspx?PostID=2941" width="1" height="1"&gt;</description><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Document+Library/default.aspx">Document Library</category></item><item><title>Specifying a list by name in a .UDCX file</title><link>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2009/10/05/specifying-a-list-by-name-in-a-udcx-file.aspx</link><pubDate>Mon, 05 Oct 2009 21:07:08 GMT</pubDate><guid isPermaLink="false">ceb7fe2a-c56b-4d85-99e6-8dd548580538:986</guid><dc:creator>CoreyRoth</dc:creator><slash:comments>6</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.dotnetmafia.com/blogs/dotnettipoftheday/rsscomments.aspx?PostID=986</wfw:commentRss><comments>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2009/10/05/specifying-a-list-by-name-in-a-udcx-file.aspx#comments</comments><description>&lt;p&gt;I’ve been working with InfoPath again lately since I’ve been working with Document Information Panels and I thought I would share another quick tip today.&amp;#160; Observe the following .UDCX file.&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;lt;?&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;xml&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;version&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;1.0&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;encoding&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;UTF-8&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot;?&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;lt;?&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;MicrosoftWindowsSharePointServices&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:gray;font-size:13pt;"&gt;ContentTypeID=&amp;quot;0x010100B4CBD48E029A4ad8B62CB0E41868F2BF&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;?&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:DataSource&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;MajorVersion&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;2&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;MinorVersion&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;0&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;xmlns:udc&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;&lt;font color="#0000ff"&gt;http://schemas.microsoft.com/office/infopath/2006/udc&lt;/font&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot;&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:Name&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;gt;list_2F9fb67e-ab7d-44b7-accc-d9f6c9ca37f9&amp;lt;/&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:Name&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:Description&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;gt;Format: UDC V2; Connection Type: SharePointList; Purpose: ReadOnly; Generated by Microsoft Office InfoPath 2007 on 2009-10-05 at 15:02:14 by MOSS-SERVER\moss_setup.&amp;lt;/&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:Description&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:Type&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;MajorVersion&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;2&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;MinorVersion&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;0&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;Type&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;SharePointList&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot;&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:SubType&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;MajorVersion&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;0&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;MinorVersion&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;0&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;Type&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&amp;quot;/&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160; &amp;lt;/&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:Type&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:ConnectionInfo&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;Purpose&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;ReadOnly&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;AltDataSource&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&amp;quot;&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:WsdlUrl&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;/&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:SelectCommand&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:ListId&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;gt;2F9fb67e-ab7d-44b7-accc-d9f6c9ca37f9&amp;lt;/&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:ListId&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:WebUrl&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;gt;&lt;font color="#0000ff"&gt;http://moss-server/MySiteCollection/&lt;font color="#ffffff"&gt;&amp;lt;/&lt;/font&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:WebUrl&lt;/span&gt;&lt;/b&gt;&lt;/font&gt;&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:ConnectionString&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;/&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:ServiceUrl&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;UseFormsServiceProxy&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;false&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot;/&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:SoapAction&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;/&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:Query&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;/&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:SelectCommand&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:UpdateCommand&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:ServiceUrl&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;UseFormsServiceProxy&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;false&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot;/&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:SoapAction&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;/&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:Submit&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;/&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:FileName&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;gt;Specify a filename or formula&amp;lt;/&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:FileName&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:FolderName&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;AllowOverwrite&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&amp;quot;/&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:UpdateCommand&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;!--&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:green;font-size:13pt;"&gt;udc:Authentication&amp;gt;&amp;lt;udc:SSO AppId=&amp;#39;&amp;#39; CredentialType=&amp;#39;&amp;#39; /&amp;gt;&amp;lt;/udc:Authentication&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;--&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160; &amp;lt;/&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:ConnectionInfo&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;lt;/&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:DataSource&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;I generated this .UDCX file with InfoPath using the Convert button on the Data Sources form.&amp;#160; As you can see from the &lt;em&gt;ListId&lt;/em&gt; element is conveniently hard coded with the GUID of a list.&amp;#160; That makes this .UDCX file absolutely worthless when deployed to a new server.&amp;#160; I looked for some documentation .UDCX to see if I could put a path in for the ListId, but I couldn’t find anything that stated I could.&amp;#160; I tried the path (i.e.: Lists/MyCustomList) and I got a list not found error when I tried to open the form.&amp;#160; So I then decided to just specify the list by its name and sure enough it works.&amp;#160; Here is what it looks like.&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;lt;?&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;xml&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;version&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;1.0&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;encoding&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;UTF-8&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot;?&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;lt;?&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;MicrosoftWindowsSharePointServices&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:gray;font-size:13pt;"&gt;ContentTypeID=&amp;quot;0x010100B4CBD48E029A4ad8B62CB0E41868F2BF&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;?&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:DataSource&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;MajorVersion&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;2&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;MinorVersion&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;0&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;xmlns:udc&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;&lt;font color="#0000ff"&gt;http://schemas.microsoft.com/office/infopath/2006/udc&lt;/font&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot;&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:Name&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;gt;list_2f9fb67e-ab7d-44b7-accc-d9f6c9ca37f9&amp;lt;/&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:Name&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:Description&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;gt;Format: UDC V2; Connection Type: SharePointList; Purpose: ReadOnly; Generated by Microsoft Office InfoPath 2007 on 2009-10-05 at 15:02:14 by MOSS-SERVER\moss_setup.&amp;lt;/&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:Description&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:Type&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;MajorVersion&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;2&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;MinorVersion&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;0&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;Type&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;SharePointList&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot;&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:SubType&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;MajorVersion&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;0&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;MinorVersion&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;0&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;Type&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&amp;quot;/&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160; &amp;lt;/&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:Type&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:ConnectionInfo&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;Purpose&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;ReadOnly&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;AltDataSource&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&amp;quot;&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:WsdlUrl&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;/&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:SelectCommand&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:ListId&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;gt;MyCustomList&amp;lt;/&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:ListId&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:WebUrl&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;gt;&lt;font color="#0000ff"&gt;http://moss-server/MySiteCollection/&lt;font color="#ffffff"&gt;&amp;lt;/&lt;/font&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:WebUrl&lt;/span&gt;&lt;/b&gt;&lt;/font&gt;&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:ConnectionString&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;/&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:ServiceUrl&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;UseFormsServiceProxy&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;false&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot;/&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:SoapAction&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;/&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:Query&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;/&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:SelectCommand&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:UpdateCommand&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:ServiceUrl&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;UseFormsServiceProxy&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;false&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot;/&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:SoapAction&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;/&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:Submit&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;/&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:FileName&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;gt;Specify a filename or formula&amp;lt;/&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:FileName&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:FolderName&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;AllowOverwrite&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&amp;quot;/&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:UpdateCommand&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;!--&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:green;font-size:13pt;"&gt;udc:Authentication&amp;gt;&amp;lt;udc:SSO AppId=&amp;#39;&amp;#39; CredentialType=&amp;#39;&amp;#39; /&amp;gt;&amp;lt;/udc:Authentication&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;--&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160; &amp;lt;/&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:ConnectionInfo&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;lt;/&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;udc:DataSource&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;As you can see I just specified the name of my custom list and it works great.&amp;#160; I still have to update the WebUrl when I put this on a new server, but this eliminates the hassle of having to look up and deal with list Ids.&lt;/p&gt;&lt;img src="http://www.dotnetmafia.com/aggbug.aspx?PostID=986" width="1" height="1"&gt;</description><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Document+Library/default.aspx">Document Library</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/InfoPath/default.aspx">InfoPath</category></item><item><title>Watch out for TemplateType when using SPSource to export lists</title><link>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2009/09/21/watch-out-for-templatetype-when-using-spsource-to-export-lists.aspx</link><pubDate>Mon, 21 Sep 2009 14:55:27 GMT</pubDate><guid isPermaLink="false">ceb7fe2a-c56b-4d85-99e6-8dd548580538:970</guid><dc:creator>CoreyRoth</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.dotnetmafia.com/blogs/dotnettipoftheday/rsscomments.aspx?PostID=970</wfw:commentRss><comments>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2009/09/21/watch-out-for-templatetype-when-using-spsource-to-export-lists.aspx#comments</comments><description>&lt;p&gt;I can’t continue to reiterate how much time &lt;a href="http://spsource.codeplex.com/"&gt;SPSource&lt;/a&gt; can save you when it comes to exporting existing lists into usable features, but I found one minor thing to look out for when you are exporting lists.&amp;#160; Usually, you can take just about whatever SPSource gives you and redeploy it without having to change a thing, however in the cases of lists you need to look out for the TemplateType attribute otherwise it can cause you problems.&amp;#160; Take a look at the XML below from the elements file.&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;Elements&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;xmlns&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;&lt;a href="http://schemas.microsoft.com/sharepoint/"&gt;&lt;font color="#0000ff"&gt;http://schemas.microsoft.com/sharepoint/&lt;/font&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot;&amp;gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;ListTemplate&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;AllowDeletion&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;True&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;AllowEveryoneViewItems&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;False&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;BaseType&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;1&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;DisplayName&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;Concepts&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;Description&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;EnableModeration&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;False&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;Hidden&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;False&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;OnQuickLaunch&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;True&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;Name&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;List1&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;Type&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;100&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;SecurityBits&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;11&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;Sequence&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;110&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;DocumentTemplate&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;101&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;VersioningEnabled&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;True&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; /&amp;gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;ListInstance&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;FeatureId&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;cac9f905-9380-4252-8307-d2cffb6f0c1f&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;Id&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;c5dd284f-fb59-44b9-bcfd-b4f779d9fd8d&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;TemplateType&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;100&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;Title&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;List1&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;Url&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;Lists/Lists1&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;/&amp;gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;ListTemplate&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;AllowDeletion&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;True&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;AllowEveryoneViewItems&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;False&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;BaseType&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;1&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;DisplayName&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;Regionals&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;Description&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;EnableModeration&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;False&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;Hidden&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;False&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;OnQuickLaunch&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;True&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;Name&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;Regionals&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;Type&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;101&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;SecurityBits&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;11&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;Sequence&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;110&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;DocumentTemplate&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;101&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;VersioningEnabled&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;True&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; /&amp;gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;ListInstance&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;FeatureId&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;cac9f905-9380-4252-8307-d2cffb6f0c1f&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;Id&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;631657f0-b687-4b61-ad28-13ea1140cd21&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;TemplateType&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;101&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;Title&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;List2&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:silver;font-size:13pt;"&gt;Url&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;=&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#a5c25c;font-size:13pt;"&gt;Lists/List2&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;quot; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;/&amp;gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;background:black;"&gt;   &lt;p style="margin:0in 0in 0pt;background:black;"&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;         &lt;p&gt;&lt;/p&gt;       &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;lt;/&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:#cc7832;font-size:13pt;"&gt;Elements&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:consolas;color:white;font-size:13pt;"&gt;&amp;gt;       &lt;p&gt;&lt;/p&gt;     &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;   &lt;p&gt;As you can see I have a ListTemplate and ListElement element for two different lists (list1 and list2).&amp;#160; If you look further you notice that the &lt;em&gt;Type&lt;/em&gt; attribute on the &lt;em&gt;ListTemplate &lt;/em&gt;elements is 100 and 101 respectively.&amp;#160;&amp;#160; The issue is that 100 is already reserved for a generic list and 101 is a document library so deploying this file can cause general weirdness in SharePoint.&amp;#160; Here is the list of stock &lt;a href="http://msdn.microsoft.com/en-us/library/ms462947.aspx"&gt;list template IDs&lt;/a&gt; in case you were curious.&lt;/p&gt;    &lt;p&gt;As you may guess this is pretty easy to resolve.&amp;#160; Just pick a new number that is not reserved for your &lt;em&gt;Type.&amp;#160; &lt;/em&gt;I believe the best practice recommends starting at 10000.&amp;#160; After you change the &lt;em&gt;Type&lt;/em&gt; attribute, be sure and change the &lt;em&gt;TemplateType&lt;/em&gt; attribute of the &lt;em&gt;ListInstance &lt;/em&gt;element to match it.&amp;#160; That is all there is to it.&amp;#160; If you haven’t checked out SPSource yet be sure to, the next time you need to export sites, lists, content types or site columns.&amp;#160; It can save you a ton of time.&lt;/p&gt;&lt;/p&gt;&lt;img src="http://www.dotnetmafia.com/aggbug.aspx?PostID=970" width="1" height="1"&gt;</description><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Document+Library/default.aspx">Document Library</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SPSource/default.aspx">SPSource</category></item><item><title>How to: Create a Custom Document Library</title><link>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2008/06/11/how-to-create-a-custom-document-library.aspx</link><pubDate>Wed, 11 Jun 2008 13:53:58 GMT</pubDate><guid isPermaLink="false">ceb7fe2a-c56b-4d85-99e6-8dd548580538:607</guid><dc:creator>CoreyRoth</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.dotnetmafia.com/blogs/dotnettipoftheday/rsscomments.aspx?PostID=607</wfw:commentRss><comments>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2008/06/11/how-to-create-a-custom-document-library.aspx#comments</comments><description>&lt;p&gt;Not too long ago, I talked about how to remove the &lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2008/05/29/how-to-remove-the-explorer-view-from-a-document-library-template.aspx"&gt;Explorer View&lt;/a&gt; from a document library.&amp;nbsp; As part of the post, I mentioned that I would post how to build a custom document library in the near future.&amp;nbsp; That is what I am covering today.&amp;nbsp; I really don&amp;#39;t know what the best practice is on how to create a document library, I am just going to show you how I have done it in the past.&lt;/p&gt; &lt;p&gt;Usually, the way I start is by taking a copy of the existing builtin SharePoint DocumentLibrary feature and add it to a new Visual Studio solution.&amp;nbsp; Typically I would put this in a 12 hive folder (i.e. TEMPLATE\FEATURES).&amp;nbsp; The next step is I rename the DocumentLibrary feature folder (i.e. CustomDocumentLibrary).&amp;nbsp; The next thing you will want to do is edit the &lt;em&gt;Feature.xml&lt;/em&gt; file.&amp;nbsp; We have to make some basic changes so that this is considered a new feature.&amp;nbsp; Therefore, you will want to pick a new GUID for the Id and give it a new Title and Description.&amp;nbsp; You may also want to change Hidden to False so that you can activate it and deactivate it through the UI.&lt;/p&gt; &lt;p&gt;Next, we need to edit the &lt;em&gt;ListTemplates/DocumentLibrary.xml&lt;/em&gt; file.&amp;nbsp; This file defines the list template itself.&amp;nbsp; The first thing you need to change is the &lt;em&gt;Type&lt;/em&gt;.&amp;nbsp; The Type number for a Document Library is 101.&amp;nbsp; It is recommended that user defined list templates start with 10000, so pick any number in that range that isn&amp;#39;t used.&lt;/p&gt; &lt;p&gt;The next file you need to modify is the &lt;em&gt;DocLib/Schema.xml &lt;/em&gt;file.&amp;nbsp; On the root List element, you will want to change at the minimum the Title element.&amp;nbsp; You may also want to set &lt;em&gt;EnableContentTypes&lt;/em&gt; to true if you want to use custom content types.&amp;nbsp; Set &lt;em&gt;FolderCreation &lt;/em&gt;to false if you have a custom folder type and set &lt;em&gt;VersioningEnabled&lt;/em&gt; to true if you want versioning enabled in the document library.&amp;nbsp; The Url property I believe is the default URL that you document library will use when created.&amp;nbsp; It is specified as a relative path (usually just the folder name).&amp;nbsp;&amp;nbsp; Here is what a typical root list element looks like.&lt;/p&gt; &lt;div style="font-size:10pt;background:white;color:black;font-family:courier new;"&gt; &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;List&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;xmlns:ows&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;Microsoft SharePoint&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Title&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;My Custom Document Library&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Direction&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;$Resources:Direction;&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Url&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;My Custom Documents&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;BaseType&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;1&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;xmlns&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;http://schemas.microsoft.com/sharepoint/&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;EnableContentTypes&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;True&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;FolderCreation&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;false&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;VersioningEnabled&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;true&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt; &lt;div style="font-size:10pt;background:white;color:black;font-family:courier new;"&gt; &lt;p style="margin:0px;"&gt; &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;/p&gt;&lt;/div&gt; &lt;p&gt;I have been leaving the &lt;em&gt;BaseType &lt;/em&gt;attribute set to 1 and things have been working fine.&amp;nbsp; However, I have a feeling that it should probably be set to 101 so that Document Library is the base type.&amp;nbsp; In the MetaData section, you can override the folder and document content types.&amp;nbsp; I discussed how to properly do that in this &lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2008/01/28/how-to-adding-a-content-type-to-a-list-the-correct-way.aspx"&gt;post&lt;/a&gt;.&amp;nbsp; You just need to reference the content types you are using and then also add Field elements for each custom site column you are using in those content types.&amp;nbsp; Again, the post mentioned above describes how to do that.&amp;nbsp;&amp;nbsp; The Scema.xml file is also where you can remove (or create) different views for your document library.&amp;nbsp; This is where you would go to remove the &lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2008/05/29/how-to-remove-the-explorer-view-from-a-document-library-template.aspx"&gt;explorer view&lt;/a&gt; that I mentioned a while back.&lt;/p&gt; &lt;p&gt;Once you have made these changes, you are ready for deployment.&amp;nbsp; There are other files in the DocLib folder, but I typically don&amp;#39;t mess with them.&amp;nbsp; Your custom document library can be deployed by copying out the feature and using stsadm or you can create a solution file for it.&amp;nbsp; Once the feature is activated you are ready to create instances of your new document library.&amp;nbsp; Also note that the &lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2008/06/04/wss-3-0-tools-visual-studio-extensions-1-2-running-under-windows-vista.aspx"&gt;Visual Studio Extensions for SharePoint&lt;/a&gt; can also create a lot of these files for you, but you will still need to go through and customize your various XML files.&lt;/p&gt;&lt;img src="http://www.dotnetmafia.com/aggbug.aspx?PostID=607" width="1" height="1"&gt;</description><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Document+Library/default.aspx">Document Library</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Content+Type/default.aspx">Content Type</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Feature/default.aspx">Feature</category></item><item><title>How to: Remove the Explorer View from a Document Library Template</title><link>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2008/05/29/how-to-remove-the-explorer-view-from-a-document-library-template.aspx</link><pubDate>Thu, 29 May 2008 18:40:30 GMT</pubDate><guid isPermaLink="false">ceb7fe2a-c56b-4d85-99e6-8dd548580538:593</guid><dc:creator>CoreyRoth</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.dotnetmafia.com/blogs/dotnettipoftheday/rsscomments.aspx?PostID=593</wfw:commentRss><comments>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2008/05/29/how-to-remove-the-explorer-view-from-a-document-library-template.aspx#comments</comments><description>&lt;p&gt;If you are building a custom document library solution, there may be a time where you don&amp;#39;t want users to use the Explorer View of the document library.&amp;nbsp; I am talking about the view itself and not the &lt;em&gt;Open with Windows Explorer&lt;/em&gt; action in this case.&amp;nbsp; The correct way to do is of course is to create your own custom document library template (I&amp;#39;ll be covering that in a future post) and then modify the schema.xml file.&amp;nbsp; If you want to go crazy and unsupported, you can also modify the schema.xml of the built-in DocumentLibrary feature and accomplish the same result for the out-out-the-box document library.&amp;nbsp; Removing it is just a matter of removing the appropriate &lt;em&gt;View&lt;/em&gt; element in the schema.xml file.&amp;nbsp; In this case, you are looking for an element similar to the one below.&lt;/p&gt; &lt;div style="font-size:10pt;background:white;color:black;font-family:courier new;"&gt; &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;View&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;BaseViewID&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;3&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Type&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;HTML&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;WebPartZoneID&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;Main&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;DisplayName&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;$Resources:core,Explorer_View;&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Url&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;Forms/WebFldr.aspx&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;SetupPath&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;pages\webfldr.aspx&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;RequiresClientIntegration&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;TRUE&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;ReadOnly&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;TRUE&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt; &lt;p&gt;It will have a BaseViewId of 3 and a Display Name indicating that it is the explorer view.&amp;nbsp; Just delete this entire View element and reactivate the feature and this view will not be present on any new document libraries you create.&amp;nbsp; Again, I recommend creating your own document library template instead of modifying the built-in one.&amp;nbsp; I&amp;#39;ll cover this soon, since I haven&amp;#39;t found too many good sets of instructions out there on how to do it.&lt;/p&gt;&lt;img src="http://www.dotnetmafia.com/aggbug.aspx?PostID=593" width="1" height="1"&gt;</description><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Document+Library/default.aspx">Document Library</category></item><item><title>How I used LINQ to XML to Create Document Library Folders</title><link>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2008/01/17/how-i-used-linq-to-xml-to-create-document-library-folders.aspx</link><pubDate>Thu, 17 Jan 2008 23:29:24 GMT</pubDate><guid isPermaLink="false">ceb7fe2a-c56b-4d85-99e6-8dd548580538:13</guid><dc:creator>C-Dog's .NET Tip of the Day</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.dotnetmafia.com/blogs/dotnettipoftheday/rsscomments.aspx?PostID=13</wfw:commentRss><comments>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2008/01/17/how-i-used-linq-to-xml-to-create-document-library-folders.aspx#comments</comments><description>I have been doing a lot of document library work lately and in my work I had a need to create a series of subfolders in the document library using a particular custom content type. This meant I was going to need to write a little code. I decided to keep...(&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2008/01/17/how-i-used-linq-to-xml-to-create-document-library-folders.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://www.dotnetmafia.com/aggbug.aspx?PostID=13" width="1" height="1"&gt;</description><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/LINQ+to+XML/default.aspx">LINQ to XML</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Document+Library/default.aspx">Document Library</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/LINQ/default.aspx">LINQ</category></item><item><title>Creating a Content Type based Folder in SharePoint via Feature Receiver</title><link>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2008/01/14/creating-a-content-type-based-folder-in-sharepoint-via-feature-receiver.aspx</link><pubDate>Mon, 14 Jan 2008 21:40:06 GMT</pubDate><guid isPermaLink="false">ceb7fe2a-c56b-4d85-99e6-8dd548580538:15</guid><dc:creator>C-Dog's .NET Tip of the Day</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.dotnetmafia.com/blogs/dotnettipoftheday/rsscomments.aspx?PostID=15</wfw:commentRss><comments>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2008/01/14/creating-a-content-type-based-folder-in-sharepoint-via-feature-receiver.aspx#comments</comments><description>I have been working a lot with document libraries again and in this particular implementation, I had a need to create a pre-determined set of folders upon document library creation that were based upon a custom content type. I couldn&amp;#39;t find a way...(&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2008/01/14/creating-a-content-type-based-folder-in-sharepoint-via-feature-receiver.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://www.dotnetmafia.com/aggbug.aspx?PostID=15" width="1" height="1"&gt;</description><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Document+Library/default.aspx">Document Library</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Content+Type/default.aspx">Content Type</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Feature/default.aspx">Feature</category></item><item><title>SharePoint as an Application Platform</title><link>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2007/10/31/sharepoint-as-an-application-platform.aspx</link><pubDate>Wed, 31 Oct 2007 20:01:42 GMT</pubDate><guid isPermaLink="false">ceb7fe2a-c56b-4d85-99e6-8dd548580538:24</guid><dc:creator>C-Dog's .NET Tip of the Day</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.dotnetmafia.com/blogs/dotnettipoftheday/rsscomments.aspx?PostID=24</wfw:commentRss><comments>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2007/10/31/sharepoint-as-an-application-platform.aspx#comments</comments><description>I normally focus on actual useful information rather than just opinion, but today I am going to deviate a bit. After attening Tech Fest and listening to the elitists bash SharePoint as usual, I thought it was time for a post. I&amp;#39;ll be the first to...(&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2007/10/31/sharepoint-as-an-application-platform.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://www.dotnetmafia.com/aggbug.aspx?PostID=24" width="1" height="1"&gt;</description><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Document+Library/default.aspx">Document Library</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/MOSS/default.aspx">MOSS</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Enterprise+Search/default.aspx">Enterprise Search</category></item></channel></rss>