Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Amir Khan 1289 posts 2746 karma points
    Jun 12, 2012 @ 17:20
    Amir Khan
    0

    Call Gecko Uploadify from XSLT

    Is it possible to call this macro from within an XSLT? The code below returns the following error "System.NullReferenceException: Object reference not set to an instance of an object."

    <xsl:value-of select="umbraco.library:RenderMacroContent('&lt;?UMBRACO_MACRO macroAlias=&quot;GeckoUploadify&quot; &gt; &lt;/?UMBRACO_MACRO&gt;', $currentPage/@id)" disable-output-escaping="yes"/> 

     

    Any thoughts on how to make this work?


    Thanks!

    Amir

  • Emanuel 63 posts 283 karma points
    Jun 19, 2012 @ 10:53
    Emanuel
    0

    Hi Amir,

    Sorry for the late reply, I was on holiday.
    We've never tested what you're trying to do. Is it possible to get a stack trace from the error message?

    Thanks,
    Emanuel 

  • 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.

Please Sign in or register to post replies