Tag Info

New answers tagged

0

I actually ended up using the list view app instead and applied some custom styling to it. Much simpler.


1

Try this. <xsl:value-of select="ddwrt:UserLookup(string($Userid) ,'ID')" /> You had "," after UserLookup.


0

Try this. <xsl:variable name="Rows" select="/dsQueryResponse/Rows/Row" /> <xsl:variable name="RowCount" select="count($Rows)" /> <xsl:variable name="IsEmpty" select="$RowCount = 0" /> <xsl:for-each select="$Rows"> CODE </xsl:for-each>


0

It trims substrings from left and right side of string: if(Department.TrimLeft("=*&quot;&gt;").TrimRight("&lt;").Equals("IT-Infrastructure")) { }


0

You can use meta data managed navigation


0

Add this <xsl:variable name="Rows" select="/dsQueryResponse/Rows/Row" /> <xsl:variable name="RowCount" select="count($Rows)" /> <xsl:variable name="IsEmpty" select="$RowCount = 0" /> <xsl:for-each select="$Rows"> <xsl:if test="position() mod 2 = 1"> <div style="" class="Odd" > <DO SOMETHING> </div> ...


1

I don't think you can accomplish this declaratively via CAML within an elements.xml file. However, if you are developing for SharePoint 2013 you may want to look into managed navigation, specifically the friendly URLs functionality: "Friendly URLs are URLs that correspond to a term in the navigation term set, and that provide a shorter, more meaningful ...



Top 50 recent answers are included