<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4421634233438253717</id><updated>2011-07-07T13:16:12.229-07:00</updated><category term='Intranet'/><category term='CQWP'/><category term='UserLookup'/><category term='MOSS'/><category term='XSL'/><category term='ItemStyle.xsl'/><category term='Sharepoint'/><title type='text'>Customizing Sharepoint 2007</title><subtitle type='html'>My place to dump things i pickup while making the jump to Sharepoint 2007.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mysharepointanswers.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4421634233438253717/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://mysharepointanswers.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Chris Wood</name><uri>http://www.blogger.com/profile/05344048841993923874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://bp3.blogger.com/_1Dr-ljpOid4/SG2fsVh7ccI/AAAAAAAAAok/jX05KYns0R0/S220/Faceonly.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4421634233438253717.post-1382250392522763207</id><published>2008-07-07T06:21:00.000-07:00</published><updated>2008-07-07T06:37:43.084-07:00</updated><title type='text'>Adding the New icon for content based on modified date.</title><content type='html'>&lt;P&gt;Add to xsl:stylesheet tag:&lt;/P&gt;&lt;br /&gt;&lt;P&gt;xmlns:ddwrt="&lt;A href="http://schemas.microsoft.com/WebParts/v2/DataView/runtime"&gt;http://schemas.microsoft.com/WebParts/v2/DataView/runtime&lt;/A&gt;"&lt;/P&gt;&lt;br /&gt;&lt;P&gt;Then add this template to be called later:&lt;/P&gt;&lt;br /&gt;&lt;P&gt;&amp;lt;xsl:template name="OuterTemplate.IsNew"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:param name="ModifiedValue"/&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:if test="((ddwrt:FormatDateTime(string(ddwrt:Today()), 1033, 'yyyyMMdd')) - (ddwrt:FormatDateTime(string($ModifiedValue), 1033, 'yyyyMMdd'))) &amp;amp;lt; 5" &amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:value-of select="string('&amp;amp;lt;img src=&amp;amp;quot;/_layouts/1033/images/new.gif&amp;amp;quot; alt=&amp;amp;quot;New&amp;amp;quot; /&amp;amp;gt;')"/&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/xsl:if &amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:template&amp;gt;&lt;BR&gt;&lt;/P&gt;&lt;br /&gt;&lt;P&gt;Example of using the template:&lt;/P&gt;&lt;br /&gt;&lt;P&gt;&amp;lt;xsl:variable name="NewIcon"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;xsl:call-template name="OuterTemplate.IsNew"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:with-param name="ModifiedValue" select="@Modified"/&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:call-template&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/xsl:variable&amp;gt;&lt;BR&gt;&lt;/P&gt;&lt;br /&gt;&lt;P&gt;&amp;lt;xsl:value-of&amp;nbsp; disable-output-escaping="yes" select="$NewIcon"/&amp;gt;&lt;BR&gt;&lt;/P&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4421634233438253717-1382250392522763207?l=mysharepointanswers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysharepointanswers.blogspot.com/feeds/1382250392522763207/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4421634233438253717&amp;postID=1382250392522763207' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4421634233438253717/posts/default/1382250392522763207'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4421634233438253717/posts/default/1382250392522763207'/><link rel='alternate' type='text/html' href='http://mysharepointanswers.blogspot.com/2008/07/adding-new-icon-for-content-based-on.html' title='Adding the New icon for content based on modified date.'/><author><name>Chris Wood</name><uri>http://www.blogger.com/profile/05344048841993923874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://bp3.blogger.com/_1Dr-ljpOid4/SG2fsVh7ccI/AAAAAAAAAok/jX05KYns0R0/S220/Faceonly.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4421634233438253717.post-4416857359843210552</id><published>2008-07-04T09:19:00.000-07:00</published><updated>2008-07-04T09:35:38.494-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XSL'/><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint'/><category scheme='http://www.blogger.com/atom/ns#' term='CQWP'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='UserLookup'/><title type='text'>Display Link to user via XSL Template: User Field Type similar to ddwrt:UserLookup</title><content type='html'>&lt;DIV&gt;&amp;lt;xsl:template name="OuterTemplate.GetUserItem"&amp;gt;&lt;BR&gt;&amp;lt;xsl:param name="UserValue"/&amp;gt;&lt;BR&gt;&amp;lt;xsl:param name="UserPart"/&amp;gt;&lt;BR&gt;&amp;lt;xsl:choose&amp;gt;&lt;BR&gt;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;lt;xsl:when test="string-length(normalize-space($UserValue)) = 0"&amp;gt;&lt;BR&gt;&amp;lt;xsl:value-of select="string('')"/&amp;gt;&lt;BR&gt;&amp;lt;/xsl:when&amp;gt;&lt;BR&gt;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;lt;xsl:otherwise&amp;gt;&lt;BR&gt;&amp;lt;xsl:choose&amp;gt;&lt;BR&gt;&amp;lt;xsl:when test="$UserPart='Name'"&amp;gt;&lt;BR&gt;&amp;lt;xsl:value-of select="substring-after($UserValue,'#')"/&amp;gt;&lt;BR&gt;&amp;lt;/xsl:when&amp;gt;&lt;BR&gt;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;lt;xsl:when test="$UserPart='UserID'"&amp;gt;&lt;BR&gt;&amp;lt;xsl:value-of select="substring-before($UserValue,';#')"/&amp;gt;&lt;BR&gt;&amp;lt;/xsl:when&amp;gt;&lt;BR&gt;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;lt;xsl:when test="$UserPart='DisplayName'"&amp;gt;&lt;BR&gt;&amp;lt;xsl:value-of select="concat(substring-after(substring-after($UserValue,'#'),', '),' ',substring-before(substring-after($UserValue,'#'),', '))" /&amp;gt;&lt;BR&gt;&amp;lt;/xsl:when&amp;gt;&lt;BR&gt;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;lt;xsl:when test="$UserPart='UserURL'"&amp;gt;&lt;BR&gt;&amp;lt;xsl:value-of select="concat('/_layouts/userdisp.aspx?ID=',substring-before($UserValue,';#'))" /&amp;gt;&lt;BR&gt;&amp;lt;/xsl:when&amp;gt;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;lt;xsl:otherwise&amp;gt;&lt;BR&gt;&amp;lt;xsl:value-of select="$UserValue" /&amp;gt;&lt;BR&gt;&amp;lt;/xsl:otherwise&amp;gt;&lt;BR&gt;&amp;lt;/xsl:choose&amp;gt;&amp;lt;/xsl:otherwise&amp;gt;&lt;BR&gt;&amp;lt;/xsl:choose&amp;gt;&lt;BR&gt;&amp;lt;/xsl:template&amp;gt;&lt;BR&gt;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;How to use: (@ReportOwner will be formated as [ID;#Last, First])&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;lt;xsl:template name="ByTheme" match="Row[@Style='ByTheme']" mode="itemstyle"&amp;gt;&lt;BR&gt;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;lt;xsl:variable name="Owner"&amp;gt;&lt;BR&gt;&amp;lt;xsl:call-template name="OuterTemplate.GetUserItem"&amp;gt;&lt;BR&gt;&amp;lt;xsl:with-param name="UserValue" select="@ReportOwner"/&amp;gt;&lt;BR&gt;&amp;lt;xsl:with-param name="UserPart" select="'DisplayName'"/&amp;gt;&lt;BR&gt;&amp;lt;/xsl:call-template&amp;gt;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;lt;/xsl:variable&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR&gt;&amp;lt;xsl:variable name="OwnerInfoURL"&amp;gt;&lt;BR&gt;&amp;lt;xsl:call-template name="OuterTemplate.GetUserItem"&amp;gt;&lt;BR&gt;&amp;lt;xsl:with-param name="UserValue" select="@ReportOwner"/&amp;gt;&lt;BR&gt;&amp;lt;xsl:with-param name="UserPart" select="'UserURL'"/&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;&amp;lt;/xsl:call-template&amp;gt;&lt;BR&gt;&amp;lt;/xsl:variable&amp;gt;&lt;BR&gt;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;lt;a href="{$OwnerInfoURL}" target="_blank"&amp;gt;&amp;lt;xsl:value-of select="$Owner"/&amp;gt;&amp;lt;/a&amp;gt;&lt;BR&gt;&amp;lt;/xsl:template&amp;gt;&lt;/DIV&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4421634233438253717-4416857359843210552?l=mysharepointanswers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysharepointanswers.blogspot.com/feeds/4416857359843210552/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4421634233438253717&amp;postID=4416857359843210552' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4421634233438253717/posts/default/4416857359843210552'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4421634233438253717/posts/default/4416857359843210552'/><link rel='alternate' type='text/html' href='http://mysharepointanswers.blogspot.com/2008/07/display-link-to-user-via-xsl-template.html' title='Display Link to user via XSL Template: User Field Type similar to ddwrt:UserLookup'/><author><name>Chris Wood</name><uri>http://www.blogger.com/profile/05344048841993923874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://bp3.blogger.com/_1Dr-ljpOid4/SG2fsVh7ccI/AAAAAAAAAok/jX05KYns0R0/S220/Faceonly.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4421634233438253717.post-7118316008279497096</id><published>2008-07-03T21:38:00.000-07:00</published><updated>2008-07-03T21:43:39.005-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XSL'/><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint'/><category scheme='http://www.blogger.com/atom/ns#' term='CQWP'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='ItemStyle.xsl'/><title type='text'>Complete list of Sharepoint Field types</title><content type='html'>AllDayEvent&lt;br /&gt;Attachments&lt;br /&gt;Boolean&lt;br /&gt;Calculated&lt;br /&gt;Choice&lt;br /&gt;Computed&lt;br /&gt;ContentTypeId&lt;br /&gt;Counter&lt;br /&gt;CrossProjectLink&lt;br /&gt;Currency&lt;br /&gt;DateTime&lt;br /&gt;Error&lt;br /&gt;File&lt;br /&gt;GridChoice&lt;br /&gt;Guid&lt;br /&gt;Integer&lt;br /&gt;Invalid&lt;br /&gt;Lookup&lt;br /&gt;MaxItems&lt;br /&gt;ModStat&lt;br /&gt;MultiChoice&lt;br /&gt;Note&lt;br /&gt;Number&lt;br /&gt;PageSeparator&lt;br /&gt;Recurrence&lt;br /&gt;Text&lt;br /&gt;ThreadIndex&lt;br /&gt;Threading&lt;br /&gt;URL&lt;br /&gt;User&lt;br /&gt;WorkflowEventType&lt;br /&gt;WorkflowStatus&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfieldtype.aspx"&gt;taken from: msdn.microsoft.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4421634233438253717-7118316008279497096?l=mysharepointanswers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysharepointanswers.blogspot.com/feeds/7118316008279497096/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4421634233438253717&amp;postID=7118316008279497096' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4421634233438253717/posts/default/7118316008279497096'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4421634233438253717/posts/default/7118316008279497096'/><link rel='alternate' type='text/html' href='http://mysharepointanswers.blogspot.com/2008/07/complete-list-of-sharepoint-field-types.html' title='Complete list of Sharepoint Field types'/><author><name>Chris Wood</name><uri>http://www.blogger.com/profile/05344048841993923874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://bp3.blogger.com/_1Dr-ljpOid4/SG2fsVh7ccI/AAAAAAAAAok/jX05KYns0R0/S220/Faceonly.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4421634233438253717.post-4494117599467694034</id><published>2008-07-03T21:25:00.000-07:00</published><updated>2008-07-03T21:29:54.398-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XSL'/><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='ItemStyle.xsl'/><title type='text'>Item Template added to interate all Nodes</title><content type='html'>&lt;div class="ExternalClass5D6C9042B01E4B59883B454C97E19792"&gt;Add to the bottom of:Style Library/XSL Style Sheets/ItemStyle.xsl&lt;/div&gt;&lt;div class="ExternalClass5D6C9042B01E4B59883B454C97E19792"&gt;&lt;br /&gt; &lt;/div&gt;&lt;div class="ExternalClass5D6C9042B01E4B59883B454C97E19792"&gt;    &amp;lt;xsl:template name="ShowRaw" match="Row[@Style='ShowRaw']" mode="itemstyle"&amp;gt;&lt;br /&gt;        &amp;lt;xsl:for-each select="@*"&amp;gt;&lt;br /&gt;           &amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;Name:&amp;lt;/strong&amp;gt; &amp;lt;xsl:value-of select="name()" /&amp;gt; &amp;lt;strong&amp;gt;Value:&amp;lt;/strong&amp;gt;&amp;lt;xsl:value-of select="." /&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;        &amp;lt;/xsl:for-each&amp;gt;&lt;br /&gt;    &amp;lt;/xsl:template&amp;gt;&lt;/div&gt;&lt;div class="ExternalClass5D6C9042B01E4B59883B454C97E19792"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ExternalClass5D6C9042B01E4B59883B454C97E19792"&gt;&lt;br /&gt;&lt;strong&gt;A better one:&lt;/strong&gt;&lt;/div&gt;&lt;div class="ExternalClass5D6C9042B01E4B59883B454C97E19792"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ExternalClass5D6C9042B01E4B59883B454C97E19792"&gt; &lt;/div&gt;&lt;div class="ExternalClass5D6C9042B01E4B59883B454C97E19792"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ExternalClass5D6C9042B01E4B59883B454C97E19792"&gt; &amp;lt;xsl:template name="ShowRaw" match="Row[@Style='ShowRaw']" mode="itemstyle"&amp;gt;&lt;br /&gt;  &amp;lt;table style="border:1px silver solid;"&amp;gt;&lt;br /&gt;      &amp;lt;xsl:for-each select="@*"&amp;gt;&lt;br /&gt;       &amp;lt;tr&amp;gt;&lt;br /&gt;        &amp;lt;xsl:if test="position() mod 2 != 1"&amp;gt;&lt;br /&gt;      &amp;lt;xsl:attribute  name="style"&amp;gt;background-color:#dddddd&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;     &amp;lt;/xsl:if&amp;gt;&lt;br /&gt;     &amp;lt;td style="border:1px silver solid;"&amp;gt;&lt;br /&gt;      &amp;lt;xsl:value-of select="name()" /&amp;gt;&lt;br /&gt;     &amp;lt;/td&amp;gt;&lt;br /&gt;     &amp;lt;td style="border:1px silver solid;"&amp;gt;&lt;br /&gt;      &amp;lt;xsl:value-of select="." /&amp;gt;&lt;br /&gt;     &amp;lt;/td&amp;gt;&lt;br /&gt;   &amp;lt;/tr&amp;gt;&lt;br /&gt;      &amp;lt;/xsl:for-each&amp;gt; &lt;br /&gt;  &amp;lt;/table&amp;gt;&lt;br /&gt; &amp;lt;/xsl:template&amp;gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4421634233438253717-4494117599467694034?l=mysharepointanswers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysharepointanswers.blogspot.com/feeds/4494117599467694034/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4421634233438253717&amp;postID=4494117599467694034' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4421634233438253717/posts/default/4494117599467694034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4421634233438253717/posts/default/4494117599467694034'/><link rel='alternate' type='text/html' href='http://mysharepointanswers.blogspot.com/2008/07/item-template-added-to-interate-all.html' title='Item Template added to interate all Nodes'/><author><name>Chris Wood</name><uri>http://www.blogger.com/profile/05344048841993923874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://bp3.blogger.com/_1Dr-ljpOid4/SG2fsVh7ccI/AAAAAAAAAok/jX05KYns0R0/S220/Faceonly.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4421634233438253717.post-3868271645786764587</id><published>2008-07-03T21:07:00.000-07:00</published><updated>2008-07-03T21:11:38.517-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint'/><category scheme='http://www.blogger.com/atom/ns#' term='CQWP'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='Intranet'/><title type='text'>OuterTemplate.GetGroupName Fix to include User Group</title><content type='html'>The corrected Template is below:&lt;br /&gt;&lt;br /&gt; &amp;lt;xsl:template name="OuterTemplate.GetGroupName"&amp;gt;&lt;br /&gt;        &amp;lt;xsl:param name="GroupName"/&amp;gt;&lt;br /&gt;        &amp;lt;xsl:param name="GroupType"/&amp;gt;&lt;br /&gt;        &amp;lt;xsl:choose&amp;gt;&lt;br /&gt;            &amp;lt;xsl:when test="string-length(normalize-space($GroupName)) = 0"&amp;gt;&lt;br /&gt;                &amp;lt;xsl:value-of select="$BlankGroup"/&amp;gt;&lt;br /&gt;            &amp;lt;/xsl:when&amp;gt;&lt;br /&gt;            &amp;lt;xsl:otherwise&amp;gt;&lt;br /&gt;                &amp;lt;xsl:choose&amp;gt;&lt;br /&gt;                    &amp;lt;xsl:when test="$GroupType='URL'"&amp;gt;&lt;br /&gt;                        &amp;lt;xsl:variable name="Url"&amp;gt;&lt;br /&gt;                            &amp;lt;xsl:call-template name="OuterTemplate.FormatValueIntoUrl"&amp;gt;&lt;br /&gt;                                &amp;lt;xsl:with-param name="Value" select="$GroupName"/&amp;gt;&lt;br /&gt;                            &amp;lt;/xsl:call-template&amp;gt;&lt;br /&gt;                        &amp;lt;/xsl:variable&amp;gt;&lt;br /&gt;                        &amp;lt;xsl:call-template name="OuterTemplate.GetPageNameFromUrlRecursive"&amp;gt;&lt;br /&gt;                            &amp;lt;xsl:with-param name="Url" select="$Url"/&amp;gt;&lt;br /&gt;                        &amp;lt;/xsl:call-template&amp;gt;&lt;br /&gt;                    &amp;lt;/xsl:when&amp;gt;&lt;br /&gt;                    &lt;strong&gt;&lt;span style="color:#ff0000;"&gt;&amp;lt;xsl:when test="$GroupType='User'"&amp;gt;&lt;br /&gt;                               &amp;lt;xsl:value-of select="substring-after($GroupName,'#')"/&amp;gt;&lt;br /&gt;                    &amp;lt;/xsl:when&amp;gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;                    &amp;lt;xsl:otherwise&amp;gt;&lt;br /&gt;                        &amp;lt;xsl:value-of select="$GroupName" /&amp;gt;&lt;br /&gt;                    &amp;lt;/xsl:otherwise&amp;gt;&lt;br /&gt;                &amp;lt;/xsl:choose&amp;gt;&lt;br /&gt;            &amp;lt;/xsl:otherwise&amp;gt;&lt;br /&gt;        &amp;lt;/xsl:choose&amp;gt;&lt;br /&gt;    &amp;lt;/xsl:template&amp;gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4421634233438253717-3868271645786764587?l=mysharepointanswers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysharepointanswers.blogspot.com/feeds/3868271645786764587/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4421634233438253717&amp;postID=3868271645786764587' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4421634233438253717/posts/default/3868271645786764587'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4421634233438253717/posts/default/3868271645786764587'/><link rel='alternate' type='text/html' href='http://mysharepointanswers.blogspot.com/2008/07/outertemplategetgroupname-fix-to.html' title='OuterTemplate.GetGroupName Fix to include User Group'/><author><name>Chris Wood</name><uri>http://www.blogger.com/profile/05344048841993923874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://bp3.blogger.com/_1Dr-ljpOid4/SG2fsVh7ccI/AAAAAAAAAok/jX05KYns0R0/S220/Faceonly.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4421634233438253717.post-2588972681539201851</id><published>2008-07-03T20:30:00.000-07:00</published><updated>2008-07-03T21:31:07.907-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint'/><category scheme='http://www.blogger.com/atom/ns#' term='CQWP'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='Intranet'/><title type='text'>Design: Rolling up Corporate Forms from all Intranet Department Sites</title><content type='html'>&lt;p&gt;I'm working on creating a rollup content Query Web part (CQWP) to display all the corporate forms listed within our intranet. The basic architecture was to create a custom content type as follows:&lt;br /&gt;&lt;br /&gt;[Corporate Form]&lt;br /&gt;From preexsisting columns &lt;/p&gt;&lt;ul&gt;&lt;li&gt;Title:Single line of text&lt;/li&gt;&lt;li&gt;URL:Hyperlink or Picture&lt;/li&gt;&lt;li&gt;Comments:Multiple lines of text&lt;/li&gt;&lt;li&gt;Owner:Person or Group&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;New custom column&lt;/p&gt;&lt;ul&gt;&lt;li&gt;HelpURL:Publishing Hyperlink&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Each site will have a list to store the [Corporate Form] content type. This list will allow administrators to add an entry for every corporate form either as an attatchment or a link to another list (such as for Infopath or standard lists).&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4421634233438253717-2588972681539201851?l=mysharepointanswers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysharepointanswers.blogspot.com/feeds/2588972681539201851/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4421634233438253717&amp;postID=2588972681539201851' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4421634233438253717/posts/default/2588972681539201851'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4421634233438253717/posts/default/2588972681539201851'/><link rel='alternate' type='text/html' href='http://mysharepointanswers.blogspot.com/2008/07/design-rolling-up-corporate-forms-from.html' title='Design: Rolling up Corporate Forms from all Intranet Department Sites'/><author><name>Chris Wood</name><uri>http://www.blogger.com/profile/05344048841993923874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://bp3.blogger.com/_1Dr-ljpOid4/SG2fsVh7ccI/AAAAAAAAAok/jX05KYns0R0/S220/Faceonly.jpg'/></author><thr:total>1</thr:total></entry></feed>
