Created
September 23, 2013 10:07
-
-
Save janikvonrotz/6668613 to your computer and use it in GitHub Desktop.
Add Link to the SharePoint search results
#SharePoint
#ASP.net
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xsl:template name="ViewInBrowser"> | |
<xsl:param name="browserlink" /> | |
<xsl:param name="currentId" /> | |
<xsl:if test="string-length($browserlink) > 0"> | |
<span class="srch-urllink"><a href="{$browserlink}" id="{concat($currentId,'_VBlink')}"> | |
<xsl:value-of select="$ViewInBrowser" /> | |
</a> | |
</span> | |
</xsl:if> | |
</xsl:template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xsl:template name="ViewInBrowser"> | |
<xsl:param name="browserlink" /> | |
<xsl:param name="currentId" /> | |
<xsl:if test="string-length($browserlink) > 0"> | |
<span class="srch-urllink"><a href="{$browserlink}" id="{concat($currentId,'_VBlink')}"> | |
<xsl:value-of select="$ViewInBrowser" /> | |
</a> | |
</span> | |
</xsl:if> | |
<a> | |
<xsl:attribute name="href"> | |
<xsl:value-of select="sitename"/> | |
</xsl:attribute> | |
<xsl:text xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" ddwrt:whitespace-preserve="yes" xml:space="preserve"> | |
</xsl:text> | |
<xsl:text xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" ddwrt:nbsp-preserve="yes" disable-output-escaping="yes">&nbsp;</xsl:text> | |
Ordner anzeigen | |
</a> | |
</xsl:template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment