<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Bill Burke&#039;s Sharepoint How to.... for Beginners and the Self Taught</title>
	<atom:link href="http://vspug.com/bburke/feed/" rel="self" type="application/rss+xml" />
	<link>http://vspug.com/bburke</link>
	<description>Just another VSPUG - Virtual SharePoint User Group weblog</description>
	<lastBuildDate>Wed, 30 Jan 2008 01:38:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SharePoint Designer 2007 Step by Step Book</title>
		<link>http://vspug.com/bburke/2008/01/29/sharepoint-designer-2007-step-by-step-book/</link>
		<comments>http://vspug.com/bburke/2008/01/29/sharepoint-designer-2007-step-by-step-book/#comments</comments>
		<pubDate>Wed, 30 Jan 2008 01:38:00 +0000</pubDate>
		<dc:creator>bburke</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[&#160;
I&#160;bought this book and have to say it&#39;s perfect for beginners and intermediates. It fills in a lot of gaps if your self taught. I swear I browsed through the book the day I got it and immediately found something I had been trying to figure out and went right to it.
Not only does it [...]]]></description>
			<content:encoded><![CDATA[<p><img style="WIDTH:130px;HEIGHT:130px;" height="130" src="http://www.microsoft.com/MSPress/books/imgt/12083.gif" width="130" align="left" alt="  " />&nbsp;</p>
<p>I&nbsp;bought this book and have to say it&#39;s perfect for beginners and intermediates. It fills in a lot of gaps if your self taught. I swear I browsed through the book the day I got it and immediately found something I had been trying to figure out and went right to it.</p>
<p>Not only does it give you step by step instructions for certain tasks but if your like me it spawned a lot of ideas.</p>
<p>There are many books starting to pop up now about WSS. I purchased a few that turned out to be a bit above my skill level&nbsp;right now but this one is just right. Trust me, if you want a&nbsp; big jump start&nbsp;in expanding your SharePoint Designer experience, this book will do it. <a href="http://www.microsoft.com/mspress/books/12083.aspx" target="_blank">Microsoft Press</a></p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/bburke/2008/01/29/sharepoint-designer-2007-step-by-step-book/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dashboards for WSS 3.0 Part II Apply the XSLT to the Data View (DVWP) using Sharepoint Designer</title>
		<link>http://vspug.com/bburke/2008/01/29/dashboards-for-wss-3-0-part-ii-apply-the-xslt-to-the-data-view-dvwp-using-sharepoint-designer/</link>
		<comments>http://vspug.com/bburke/2008/01/29/dashboards-for-wss-3-0-part-ii-apply-the-xslt-to-the-data-view-dvwp-using-sharepoint-designer/#comments</comments>
		<pubDate>Wed, 30 Jan 2008 01:10:00 +0000</pubDate>
		<dc:creator>bburke</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[&#160;
If you read part 1 before January 29, 2008, it has been updated and you will need to view the updated content before continuing. (Sorry, found a small error but it&#39;s fixed now.)&#160;
Ok, in the first article Dashboards for WSS 3.0 Part I The Stylesheet We modified the xslt from the &#34;Budgeting and Tracking Multiple [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>If you read part 1 before January 29, 2008, it has been updated and you will need to view the updated content before continuing. (Sorry, found a small error but it&#39;s fixed now.)&nbsp;</p>
<p>Ok, in the first article <font color="#ff0000"><a href="/bburke/archive/2008/01/23/dashboards-for-wss-3-0-part-i-the-stylesheet.aspx" target="_blank">Dashboards for WSS 3.0 Part I The Stylesheet</a></font> We modified the xslt from the &quot;Budgeting and Tracking Multiple Projects&quot; template dashboard. Now we want to apply that xslt to our list using SharePoint Designer.</p>
<p>Let&#39;s open our project in SPD and the site (This is the site where the list we are applying the xslt to)and create a folder called &quot;xslt&quot;. Where you store you xslt is really up to you. I create a folder like this on a site and store them all there. I am not saying this is the best way or even the right way. Just how I do it.</p>
<p><a target="_blank"></a><img style="WIDTH:414px;HEIGHT:98px;" height="98" src="http://byfiles.storage.msn.com/y1pit8PdSsTOBByYur58Zcnu4DisGsJpJX91vM8cwRvNcFUwyvSEhmP2yOdQtv9mhD0oQmU5Wazs4k" width="414" align="left" alt="  " />&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>In that folder place a copy of the xslt you want to use.</p>
<p>Open an existing page or create a new one ( &quot;File &gt; New &gt; ASPX&quot; ). I place all my data views in a web part zone so I can move them around easily if I need to. So let&#39;s add a web part zone to a new page a place a web part zone on it ( &quot;Insert &gt; SharePoint Controls &gt; Web Part Zone&quot; ). SPD should look like this:</p>
<p><a></a><img style="WIDTH:507px;HEIGHT:354px;" height="354" src="http://by1.storage.msn.com/y1p_uBHpg3k8XDnQ4TSsMxHzPQzq4oIgTuiWGweneWhdBtbCMWZjcK6YHgRRsnNhiT5ZdjPTGnoQ6nHBAIaA6rl0wb75BQX_m5d?PARTNER=WRITER" width="507" align="left" alt="  " />&nbsp; </p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Select the web part zone (it will highlight blue), then select &quot;Data View &gt; Manage Data Sources&quot;. A list of data sources for this site will appear in the right task pane.</p>
<p><a></a><img style="WIDTH:503px;HEIGHT:351px;" height="351" src="http://by1.storage.msn.com/y1p_uBHpg3k8XDp1FWW2iqF0YczaxWPXlW7slYQeoSUBTaEy4m5X9sHjKmnvQixBVt9JexMtJfR348Q5HYVfEcsjuCJRe6xWtGw?PARTNER=WRITER" width="503" align="left" alt="  " />&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>In the Data Source Library hover your mouse over the list you want to use and select &quot;Show Data&quot; from it&#39;s drop down. (I&#39;m having trouble getting a cap of the drop down, sorry) I will use&nbsp; the &quot;Task&quot; list.</p>
<p>The data for that list will be shown. By default it select the first 5 fields in the list or data source.</p>
<p><a></a><img style="WIDTH:495px;HEIGHT:346px;" height="346" src="http://by1.storage.msn.com/y1p_uBHpg3k8XDc-qQRAocgMFA88MBMWyD3hLOQDDfT7vM6zudJZheyKZJ5hOn6GyWRjsHesiV3GJx1R-_0Ly1Qp55Usk8IKrzq?PARTNER=WRITER" width="495" align="left" alt="  " />&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>I&#39;ll talk a lot more about Data View Web Parts (DVWP) and the data sources in future posts but for now we&#39;ll assume you have a understanding of their use. Because we are going to create a bar graph of the &quot;Status&quot; of these tasks, we will only select the &quot;Status&quot; field in the data source window.</p>
<p><a></a><img style="WIDTH:491px;HEIGHT:343px;" height="343" src="http://t2yieq.bay.livefilestore.com/y1pSBUHp4Nu-uD4yDRa7I-kotXQHWvTUatcjXLj7-gLmiwqImHt-9ucrfO9dz6LedeL02dsxQgB2MKH9qgePYVHDwEJkwRKKK5S?PARTNER=WRITER" width="491" align="left" alt="  " />&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>After selecting &quot;Status&quot;, Click &quot;Insert Selected fields as&#8230;..&quot; You see a drop down, select&nbsp; &quot;Multiple Item View&quot;. We want to display all the items from the &quot;Status&quot; field in the view.</p>
<p><a></a><img style="WIDTH:489px;HEIGHT:341px;" height="341" src="http://t2yieq.bay.livefilestore.com/y1pSBUHp4Nu-uCNr-73DriRfTnD3-blXlvikyrzq97Q45jL_yoz-RpQvT_BR-vIGCzawBAUCJHMUok6kXcRMZto4xgBp9tqviiH?PARTNER=WRITER" width="489" align="left" alt="  " />&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>SPD will create a data view web part in the web part zone on the page.</p>
<p><a></a><img style="WIDTH:484px;HEIGHT:328px;" height="328" src="http://by1.storage.msn.com/y1p_uBHpg3k8XBD5fVEjEfrZimk2AmiuR9TnSK1ZNu7N6C7psJba4hDQShnN7nAAhcb2uO3pAQI_bh1i1wv9LSUTlgVHB9_ueaW?PARTNER=WRITER" width="484" align="left" alt="  " />&nbsp; </p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>I have three tasks in this list, one with each of the choices in the &quot;Status&quot; field (Contractor Action. Customer Actions and Completed). In order to apply the xslt you created in the previous post you&#39;ll need to use the &quot;Common Data View Tasks Pane&quot;. It should come up when you created your view, but if it&#39;s not there (like the pic above), select the chevron for that DVWP (circled in red).</p>
<p>Select &quot;Change Layout&quot; and the &quot;XSLT Source&quot; tab.</p>
<p><a></a><img style="WIDTH:474px;HEIGHT:324px;" height="324" src="http://by1.storage.msn.com/y1p_uBHpg3k8XAlrP0vuIsMGTxhzYyYpxorTjxV0e6cHGk787KBe5A1vvTtAjAilnfrTVN7jEYwZ8VBzoOGj0TuNTYdWyQDlm4i?PARTNER=WRITER" width="474" align="left" alt="  " />&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Browse to the location of the xslt file and select &quot;OK&quot;. Your data view should now look like this:</p>
<p><a></a><img style="WIDTH:473px;HEIGHT:330px;" height="330" src="http://by1.storage.msn.com/y1p_uBHpg3k8XDKMNVnNfdHvcwBmWmYTve7kwAgrCeUEBpWnCyVSyiuz_DcNSWSf4Wk_hTN9Gua-beV8k5kUsB0LVCuUF8s7OdS?PARTNER=WRITER" width="473" align="left" alt="  " />&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Remember, I had three tasks in the list 1 Contractor Action, 1 Customer Action and 1 Completed. The bar graph shows one item in each category and each is 33% of the entire list.</p>
<p>Select &quot;File &gt; Preview in Browser&quot;.</p>
<p><a></a><img style="WIDTH:411px;HEIGHT:158px;" height="158" src="http://by1.storage.msn.com/y1p_uBHpg3k8XAA1Hw5aOjIH3-HpB-hhclUeT8zBoEZ5KsHi6X4GUi_dZ4d0XMKXUKcoQC0cWpJBDxG-zt9ufEGHsmGXdRGvROe?PARTNER=WRITER" width="411" align="left" alt="  " />&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>I&#39;ve added more items to my task list:</p>
<p><a></a><img style="WIDTH:417px;HEIGHT:138px;" height="138" src="http://by1.storage.msn.com/y1p_uBHpg3k8XBzhXLGS1sgsA0QWPHCFmhR4HWOmEff7Ajo7MXnI0ZpAfnnW0ij5ZcsDnRHBmcNC5PYpANqm6XUC0lq2Bc7IxYw?PARTNER=WRITER" width="417" align="left" alt="  " />&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>So that&#39;s how you manipulate the OOB bar graph from the &quot;Budgeting and Tracking multiple Projects&quot; template from the Fantastic 40 (you can see them demonstrated and can download them from <a href="http://www.wssdemo.com/application/default.aspx" target="_blank"><font color="#ff0000">&quot;WSS Demo by Ian Morrish&quot;</font></a> )</p>
<p>I hope this helps those who are learning about SharePoint and SharePoint Designer.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/bburke/2008/01/29/dashboards-for-wss-3-0-part-ii-apply-the-xslt-to-the-data-view-dvwp-using-sharepoint-designer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dashboards for WSS 3.0 Part I The Stylesheet</title>
		<link>http://vspug.com/bburke/2008/01/23/dashboards-for-wss-3-0-part-i-the-stylesheet/</link>
		<comments>http://vspug.com/bburke/2008/01/23/dashboards-for-wss-3-0-part-i-the-stylesheet/#comments</comments>
		<pubDate>Wed, 23 Jan 2008 23:59:00 +0000</pubDate>
		<dc:creator>bburke</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[**** I updated this post and the attachments when I noticed an error. ****&#160;&#160;&#160; 
&#160;Most people who use WSS 3.0 most likely want to use some type of dashboard component on their sites. If you haven&#39;t seen it, there is a great document called &#34;Application Templates Under the Hood&#34; published&#160; by Microsoft in June 2007. [...]]]></description>
			<content:encoded><![CDATA[<p>**** I updated this post and the attachments when I noticed an error. ****&nbsp;&nbsp;&nbsp; </p>
<p>&nbsp;Most people who use WSS 3.0 most likely want to use some type of dashboard component on their sites. If you haven&#39;t seen it, there is a great document called &quot;Application Templates Under the Hood&quot; published&nbsp; by Microsoft in June 2007. <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=C49A6B00-E0AA-4102-B585-B25CD3CBB383&amp;displaylang=en" target="_blank"><font color="#ff0000">(Get it here.)</font></a> Page 24 of that document &quot;Using Dashboards&quot; deals with the Bar Graph used in many of the Fantastic 40 Application Templates. Our example references one of the bar graphs used in the &quot;Budgeting and Tracking multiple Projects&quot; templates dashboard. </p>
<h3><a href="http://byfiles.storage.msn.com/y1pit8PdSsTOBAuc_rd9uW1DTXFb4P272BL-rl_BQV8yTjWGH4PmZPvZrbeoFSz8lvz0ZpfuBrVXw4?PARTNER=WRITER" target="_blank"><img style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;BORDER-RIGHT-WIDTH:0px;" height="173" alt="barg_10" src="http://byfiles.storage.msn.com/y1pit8PdSsTOBCB-QKby_GvnKYdo1wx-wpax3ULa8_W7VOucE3f2KfAEE7P9EzQqE6APNdhsHKoIFI?PARTNER=WRITER" width="529" border="0" /></a> </h3>
<p>If you have seen this but still find yourself scratching your head, I&#39;m going to attempt to detail how to use this type of graph in a SharePoint list. </p>
<p>I don&#39;t claim to be able to teach you about xslt but I&#39;ll show you how to do <u>this</u>. After you do it once or twice you begin to understand how it all works. Good Luck </p>
<p>So what we want to do is create a bar graph. We have a list of issues or action items that has a field called &quot;Status&quot;. The various &quot;Status&quot; categories are: &quot;Contractor Action&quot;, &quot;Customer Action&quot; or &quot;Completed&quot;. We want to show a bar graph that tells us: </p>
<ul>
<li>How many total items are in the list
<li>How many items in each category
<li>The percentage in each category based on total items</li>
</ul>
<p>I&#39;ll do this in two parts: </p>
<p>1. Modifying the XSLT used to display the list data. </p>
<p>2. Use SharePoint Designer to create a data view and apply the style sheet. </p>
<p>The XSLT used to transform the data to the bar graph is available in the &quot;Budgeting and Tracking multiple Projects&quot;. This is the document we will start with in performing this task. <a href="http://cid-1550fb746867d332.skydrive.live.com/browse.aspx/Bar_Graph" target="_blank"><font color="#ff0000">(Bar_Graph.xslt)</font></a> </p>
<p>Let&#39;s take a look at the style sheet in IE will all branches collapsed: </p>
<p><a href="http://t2yieq.bay.livefilestore.com/y1pSBUHp4Nu-uC2nFl5bPyDOJb5BX0nwSC4h122ZXw04f8F8T74FnzaeCE9KUMZ4J-yaomrddQ_j-6pVTOCWBLwGssEfctJmmjM?PARTNER=WRITER" target="_blank"><img height="267" alt="barg_1" src="http://t2yieq.bay.livefilestore.com/y1pSBUHp4Nu-uAL134sN3Qe59tIEjiNz0nVM-eUurXsKAEg9DiDA1qWqlNF9eqOakmZNmK0TdEnVSVWU91sXVpv_AWUHkn86kqM?PARTNER=WRITER" width="602" /></a> </p>
<p>In order to use this with your Data View (assuming you have created a list in WSS 3.0) you will need to know which columns you want to include in the Bar Graph. For example, let&#39;s say in the &quot;Status&quot; field of our list there are three category choices, <strong><em>A) Contractor Action, B) Customer Action or C) Completed</em></strong>. Additionally, we want to show the total items in this list and the percentage of those items in each of the three categories. </p>
<p>In the xslt file, we are concerned with only two areas: 1) &quot;dvt_1.footer&quot; and 2) &quot;dvt_1.header&quot;, the other sections of the stylesheet can remain as is. </p>
<p><a href="http://t2yieq.bay.livefilestore.com/y1pSBUHp4Nu-uA44mKBiCvJlc4L5PyNUMJsRwA_-LXUKtM4Lw4lMSbjgtJnztxasszx1fcvM1teBcjmgLVJ-QUhGA1iONP_u4Tk?PARTNER=WRITER" target="_blank"><img style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;BORDER-RIGHT-WIDTH:0px;" height="267" alt="barg_2" src="http://t2yieq.bay.livefilestore.com/y1pSBUHp4Nu-uDJQhs_QvcKMXMrLv56JRrNAbvhvnuwyuqevzvlf8KY-WVBMCOjfWhNQuZtly3c9ai26PRJWCALlJoF5YXqvvv0?PARTNER=WRITER" width="644" border="0" /></a> </p>
<p>Let&#39;s start with &quot;dvt_1.footer&quot;. </p>
<p>Expanding this section shows parameter and variable names. </p>
<p><a href="http://t2yieq.bay.livefilestore.com/y1pSBUHp4Nu-uA1aFvUIY9QKG9HLPa3bBNpEVNkf5WYLpXSqkbeH7l_9XA4-MG_qpRskqXqgNaiU1VP8PxwZyxxIkNWIMQEqJjr?PARTNER=WRITER" target="_blank"><img style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;BORDER-RIGHT-WIDTH:0px;" height="120" alt="barg_3" src="http://t2yieq.bay.livefilestore.com/y1pSBUHp4Nu-uAUd7tHFlhqGgmaNHAy4Ox3F9cPenU5Vc29JXPdG15DqxN0omH7EpKaFWUx7OUMEM8KZTQPPx65BNE78K9jKM95?PARTNER=WRITER" width="614" border="0" /></a> </p>
<p>The following parameters don&#39;t need to be changed&#8230;&#8230;&#8230; </p>
<p>&lt;xsl:param name=&quot;<b>ParentPath</b>&quot; /&gt; </p>
<p>&lt;xsl:param name=&quot;<b>Rows</b>&quot; /&gt; </p>
<p>We will focus on the variable names&#8230;&#8230;&#8230;.. The &quot;Budgeting and Tracking multiple Projects&quot; application presents three choices from the &quot;Status&quot; field: </p>
<ol>
<li>Active
<li>Resolved
<li>Closed</li>
</ol>
<p>Our &quot;Status&quot; field presents three different choices: </p>
<ol>
<li>Contractor Action
<li>Customer Action
<li>Completed</li>
</ol>
<p>Let&#39;s look at each variable in turn: (This is the portion that will &quot;count&quot; the number of items in each category) </p>
<p>&lt;xsl:variable name=&quot;<b>Active</b>&quot; select=&quot;<b>count(/dsQueryResponse/Rows/Row[normalize-space(@Status) = &#39;Active&#39;])</b>&quot; /&gt; </p>
<p>The first thing we notice is the variable name &quot;Active&quot;. Change the first instance of &quot;Active&quot; to &quot;ContractorAction&quot;. </p>
<p>&lt;xsl:variable name=&quot;<strong>ContractorAction</strong>&quot; select=&quot;<b>count(/dsQueryResponse/Rows/Row[normalize-space(@Status) = &#39;Active&#39;])</b>&quot; /&gt; </p>
<p>The next thing we notice is @Status. This is the lists field &quot;Status&quot;, since our list contains a &quot;Status&quot; field we will leave this alone. </p>
<p>Finally we see another &#39;Active&#39;, change this to &#39;Contractor Action&#39; (notice the variable name has no space between Contractor and Action, where the second instance does). </p>
<p>&lt;xsl:variable name=&quot;<strong>ContractorAction</strong>&quot; select=&quot;<b>count(/dsQueryResponse/Rows/Row[normalize-space(@Status) = &#39;Contractor Action&#39;])</b>&quot; /&gt; </p>
<p>Change the next two lines; &quot;Resolved&quot; and &quot;Closed&quot; to our other two &quot;Status&quot; field choices; &quot;Customer Action&quot; and &quot;Completed&quot; in the same manner. </p>
<p>This is what we end up with: </p>
<p><a href="http://t2yieq.bay.livefilestore.com/y1pSBUHp4Nu-uDZNccuapTtpgNki4sadzWvrQjgg8Yl_zUOQKmfJyyXv7-QX6UE5zQFKHDxXEjDRZUIBHAOYJv6ReNTq-iYkdh5?PARTNER=WRITER" target="_blank"><img style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;BORDER-RIGHT-WIDTH:0px;" height="107" alt="barg_4" src="http://t2yieq.bay.livefilestore.com/y1pSBUHp4Nu-uCeaXcSGfmPhrM1cXN-Jf3KM3JEOUOPqgkNFd2LwwS8ZxXYxpOuCeJVu2gzIsxBW46kCccbAKHpGtswiuBeatRP?PARTNER=WRITER" width="616" border="0" /></a> </p>
<p>If your list field is different, you would change @ Status to the your fields name. So I guess what&#39;s happening is it&#39;s saying, &quot;in the variable &quot;Contractor Action&quot; go to the field &quot;Status&quot; and count how many items are marked &quot;Contractor Action&quot;. </p>
<p>Moving to the next line we see the variable name &quot;AllTasks&quot; this will always remain as is. </p>
<p>Finally, the last three variable names you&#39;ll notice have &quot;percent&quot; in front of our category name (percentactive). (This portion will calculate and display the percentage of each category of the entire list) </p>
<p>Just like the first three variables, starting with the &#39;percentactive&#39; change it to &quot;percentContractorAction&quot; </p>
<p>&lt;xsl:variable name=&quot;<b>percentContractorAction</b>&quot; select=&quot;<b>$Active div $AllTasks</b>&quot; /&gt; </p>
<p>Again the same rule applies, variable name; no spaces. </p>
<p><font color="#0000a0">***** This new if you have read this before*****</font> </p>
<p>Also change select=&quot;$Active&quot; to select=&quot;$ContractorAction&quot; </p>
<p><font color="#0000a0">*****End new content*****</font>&nbsp;&nbsp;</p>
<p>&nbsp;Do the same for the remaining two categories; Customer Action and Completed. We should look like this: </p>
<p><a href="http://t2yieq.bay.livefilestore.com/y1pSBUHp4Nu-uDth3JMDXiG0uhpivPz4lXQWz8UlQcUGN-znDZMuwGAiz26U1g6rq7as6pze8KOpAJkzp0ZyKu8SZPkayNkr7Lh?PARTNER=WRITER" target="_blank"><img style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;BORDER-RIGHT-WIDTH:0px;" height="109" alt="barg_5" src="http://t2yieq.bay.livefilestore.com/y1pSBUHp4Nu-uBbVnhSnOA7Lmw1j4W5cgny0PZVz-dd24-Np3uc984g6Z3BZMjVXG7m1pU11A3XQQqu1U88w2R6mQiaJMRVt0S-?PARTNER=WRITER" width="613" border="0" /></a> </p>
<p>Okay, let&#39;s move down to the next section; the &quot;Table&quot;. </p>
<p>Each of the categories have a section that looks like this; below is the section for the category &quot;Active&quot;. There are four (4) instances of the word &quot;Active&quot;, change them all to &quot;ContractorAction&quot; with the exception of the first instance; it looks like this &#8211; Active: &#8211; This is the text label that will be shown on the graph. Change this to read &#8211; Contractor Action: -. </p>
<p><a href="http://t2yieq.bay.livefilestore.com/y1pSBUHp4Nu-uCF1dWaTfnvs86Qd-qSHVZTHJDeJ3CLVfxTqIQDXl5QZ8qglDNg1PsRWgL8ArTxLw3VQB2HIRLqZr1G-TbCLjwG?PARTNER=WRITER" target="_blank"><img style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;BORDER-RIGHT-WIDTH:0px;" height="307" alt="barg_6" src="http://t2yieq.bay.livefilestore.com/y1pSBUHp4Nu-uDbTKr_8e7WWhmlssskucQ7QEYlx8FioBNVaBKnbyh4472O2KqNGdjE0S4vaq0kYy1sOr637XN6fVjWYfDXLSiW?PARTNER=WRITER" width="610" border="0" /></a> </p>
<p>Looking like this: </p>
<p><a href="http://t2yieq.bay.livefilestore.com/y1pSBUHp4Nu-uAU1oifuIN27daDmi-pH2mabBJZb2WJqYV7s6WEthOXDDEYaTkbOX_PtIB8ObiXJ_SWJYhx7cYkZM38yeoaBmuh?PARTNER=WRITER" target="_blank"><img style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;BORDER-RIGHT-WIDTH:0px;" height="295" alt="barg_8" src="http://t2yieq.bay.livefilestore.com/y1pSBUHp4Nu-uAy9E9fycrNH7riGaXQox7B_Vi2j4dnR7U4iAFJRxlhfrFF3Kbig0okEwURY7g0eAY0NZVKpqFbm8m9Rn4Bv0tw?PARTNER=WRITER" width="609" border="0" /></a> </p>
<p>Change the next two sections; &quot;Resolved&quot; and &quot;Closed&quot; to our remaining two choices; &quot;Customer Action&quot; and &quot;Completed&quot; </p>
<p>Finally, the &quot;dvt_1.header&quot;. </p>
<p>Where you see &quot;Overall Issue Status&quot;, change it to read whatever you want to title this bar graph. </p>
<p><a href="http://by1.storage.msn.com/y1p_uBHpg3k8XCvsiVkoysHEpguJVkmWpTgC50XxeyILLktyqTNzv1CmpH8TnLQ06-ZAhbsPpiewHbo6kl-yolGurNuSOCKW4r_?PARTNER=WRITER" target="_blank"><img style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;BORDER-RIGHT-WIDTH:0px;" height="198" alt="barg_9" src="http://by1.storage.msn.com/y1p_uBHpg3k8XB8jdOvQS4wrv-5RhmSb4lCLLNr-8D5iO5lqXJ-TWhvj4urGPEfXBkj16S0QEvoUk5Y1DWOwb2YHyLxlXGwQI-h?PARTNER=WRITER" width="463" border="0" /></a> </p>
<p><a href="http://cid-1550fb746867d332.skydrive.live.com/self.aspx/Bar_Graph/bar_graph_modified[1].xslt" target="_blank"><font color="#ff0000">Get the modified xslt doc here.</font></a>&nbsp; <font color="#0000a0">*****this document has been updated*****</font> </p>
<p>Okay, what we have done is modified the xslt to reference our &quot;Status&quot; field and the categories available in that field. </p>
<p>Below we see a bar graph already applied to a data view using the xslt we just modified. </p>
<p><a href="http://by1.storage.msn.com/y1p_uBHpg3k8XBt0Jfpw2mXeGQHkcBHgo3viYJN1t4VU6MEhFWLygcWZl71E6N0Q4yJ1Du1gyzwV9jLAPlSjz39kRkbZ5Nav9Jy?PARTNER=WRITER" target="_blank"><img style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;BORDER-RIGHT-WIDTH:0px;" height="120" alt="barg_11" src="http://by1.storage.msn.com/y1p_uBHpg3k8XD8YPul83KKgsKXrLD-7wXy7GWfBxwZqdlQ67ONHB_zd1qVqgzrsKGmJoxLkh1-fyDnyvAA2UMSGCunZKoLwv3Y?PARTNER=WRITER" width="509" border="0" /></a>&nbsp; </p>
<p>The next article will show you how to: </p>
<ul>
<li>Create a data view
<li>Filter the data view
<li>Apply xslt to the data view</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/bburke/2008/01/23/dashboards-for-wss-3-0-part-i-the-stylesheet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
