Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,How can I pass variable using RenderMacroContent?Example:<xsl:variable name="Url" select="google.com"><xsl:value-of select="umbraco.library:RenderMacroContent('<?UMBRACO_MACRO macroAlias="Haeder" Url="[$Url]" ></?UMBRACO_MACRO>', $currentPage/@id)" disable-output-escaping="yes"/>Thanks,
kukuwka
Try concatenating the string:
<xsl:value-of select="umbraco.library:RenderMacroContent(concat('<?UMBRACO_MACRO macroAlias="Haeder" Url="[', $Url, ']" ></?UMBRACO_MACRO>'), $currentPage/@id)" disable-output-escaping="yes"/>
Thank you.
It works.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
How pass variables using RenderMacroContent
Hi,
How can I pass variable using RenderMacroContent?
Example:
<xsl:variable name="Url" select="google.com">
<xsl:value-of select="umbraco.library:RenderMacroContent('<?UMBRACO_MACRO macroAlias="Haeder" Url="[$Url]" ></?UMBRACO_MACRO>', $currentPage/@id)"
disable-output-escaping="yes"/>
Thanks,
kukuwka
Try concatenating the string:
Thank you.
It works.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.