<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>PerformancePointy: Wade Dorrell's MSDN Blog : workflow</title><link>http://blogs.msdn.com/wadedor/archive/tags/workflow/default.aspx</link><description>Tags: workflow</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Dashboard Deployment Without Folders</title><link>http://blogs.msdn.com/wadedor/archive/2008/12/05/dashboard-deployment-without-folders.aspx</link><pubDate>Sat, 06 Dec 2008 03:39:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9180841</guid><dc:creator>Wade Dorrell</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/wadedor/comments/9180841.aspx</comments><wfw:commentRss>http://blogs.msdn.com/wadedor/commentrss.aspx?PostID=9180841</wfw:commentRss><description>&lt;p&gt;When deploying a dashboard to a document library from PerformancePoint 2007 Dashboard Designer, Dashboard Designer creates each dashboard page .aspx file in a folder named the same as the dashboard:&lt;/p&gt;  &lt;p&gt;&lt;img title="Picture of document library showing folder holding pages" style="display: inline" height="261" alt="Picture of document library showing folder holding pages" src="http://blogs.msdn.com/blogfiles/wadedor/WindowsLiveWriter/DashboardDeploymentWithoutFolders_F1B3/image_cc8cabfb-c488-48f3-9ca4-31a3e1aea29a.png" width="485" border="0" /&gt;&amp;#160; &lt;/p&gt;  &lt;p&gt;But what if we don’t want folders?&lt;/p&gt;  &lt;h3&gt;The “Create View” Way&lt;/h3&gt;  &lt;p&gt;I created a view for &lt;em&gt;“Insurance Dashboards”&lt;/em&gt; with the “Show all items without folders” setting turned on, and set it as the default:    &lt;br /&gt;    &lt;br /&gt;&amp;#160;&lt;img title="image" style="display: inline" height="98" alt="image" src="http://blogs.msdn.com/blogfiles/wadedor/WindowsLiveWriter/DashboardDeploymentWithoutFolders_F1B3/image_469c6425-7aa3-4b0e-8148-0e1c1868d8ac.png" width="465" border="0" /&gt; &lt;/p&gt;  &lt;p&gt;The folders still exist, but users visiting the document library get a flattened list of all pages by default.&lt;/p&gt;  &lt;h3&gt;The “SharePoint Workflow” Way&lt;/h3&gt;  &lt;p&gt;With SharePoint workflow we can remove folders as dashboards are deployed.&lt;/p&gt;  &lt;p&gt;First, I create a document library for the purpose of deployment. I called it “&lt;em&gt;Insurance Dashboards - Deploy&lt;/em&gt;”.&lt;/p&gt;  &lt;p&gt;Next, I create a new workflow in SharePoint Designer that copies any item created in “&lt;em&gt;Insurance Dashboards – Deploy&lt;/em&gt;” to “&lt;em&gt;Insurance Dashboards”.&lt;/em&gt; (Serendipitously, the folder structure won’t be maintained by the copy… )&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;img title="image" style="display: inline" height="516" alt="image" src="http://blogs.msdn.com/blogfiles/wadedor/WindowsLiveWriter/DashboardDeploymentWithoutFolders_F1B3/image_0ff4409c-40d3-4ae0-aac4-cee9c976b947.png" width="551" border="0" /&gt;&amp;#160;&amp;#160; &lt;/p&gt;  &lt;p&gt;When deploying a dashboard in Dashboard Designer I target “&lt;em&gt;Insurance Dashboards – Deploy” &lt;/em&gt;instead of “&lt;em&gt;Insurance Dashboards&lt;/em&gt;”:&lt;/p&gt;  &lt;p&gt;&lt;img title="image" style="display: inline" height="201" alt="image" src="http://blogs.msdn.com/blogfiles/wadedor/WindowsLiveWriter/DashboardDeploymentWithoutFolders_F1B3/image_20fbc2e8-413d-47af-8045-254d16634a8f.png" width="570" border="0" /&gt;&amp;#160; &lt;/p&gt;  &lt;p&gt;The workflow makes a copy of each page to &lt;em&gt;“Insurance Dashboards”&lt;/em&gt;, leaving the folder structure behind.&lt;/p&gt;  &lt;h3&gt;Thoughts on The “SharePoint Workflow” Way&lt;/h3&gt;  &lt;ul&gt;   &lt;li&gt;We might add a step that deletes the deployed after the copy occurs.&lt;/li&gt;    &lt;li&gt;How might we handle page collisions? (We might rename, do a forced overwrite, or go into a holding pattern when this happens. I haven’t tried any of these things yet.)&lt;/li&gt;    &lt;li&gt;This pattern might be useful for other things, such as altering the content of some dashboard pages, particularly to add a custom web part. This is also something I haven’t tried, but if anyone has, please let me know!&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Any other thoughts? Please leave comments here on the blog.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9180841" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/wadedor/archive/tags/performancepoint/default.aspx">performancepoint</category><category domain="http://blogs.msdn.com/wadedor/archive/tags/workflow/default.aspx">workflow</category></item></channel></rss>