Tag Info

New answers tagged

1

Unfortunately the absolute URL isn't the best, but it's something :) You'll better need to have the site relative URL for the file, which you can pass then to GetFileByServerRelativeUrl available in Web object, using the correct Web where the file is. This method is available also in CSOM and REST API, so you can build and issue the REST query directly from ...


-1

Use this <xsl:stylesheet ...> <xsl:param name="Language" /> <xsl:template match="/" xmlns...> <xsl:value-of select="$Language" /> Reference: https://msdn.microsoft.com/en-us/library/dd583143%28v=office.11%29.aspx?f=255&MSPPError=-2147217396.


0

I'm not sure if this is the exact solution to your problem. But have you tried just writing @DatePublication instead of wrapping it in string(@DatePublication)? Here is a good link if you need to find some ways to format the date: http://blogs.msdn.com/b/joshuag/archive/2009/03/25/custom-date-formats-in-sharepoint-xsl.aspx


0

It doesn't duplicates, by default Image / Link field has two values. First is URL, second is description. When description left empty, it automatically fills up same as URL. To prevent displaying description in src, you might it cut off. So use this: <xsl:value-of select="substring-before(@Thumbnail, ',')" />



Top 50 recent answers are included