Copied to clipboard

Flag this post as spam?

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


  • Eran Meir 401 posts 543 karma points
    Mar 17, 2013 @ 20:57
    Eran Meir
    0

    Parameter of mediaCurrent Type is blank

    hey i have a mediaCurrent in a macro and im using the macro in RTE.
    i can see the value saved in the umbraco.config

    but when it try to get the id of the media from Paramter.mediaSelected (mediaSelected is the alias of the parameter) im getting a blank value (checked in debug).
    does anybody have an idea what could be the problem? or any workaround?

     

    umbraco 4.10

  • Andreas Iseli 150 posts 427 karma points
    Mar 18, 2013 @ 09:29
    Andreas Iseli
    0

    What exactly do you call?

    Macro.Parameters["mediaSelected"] 

    is the correct way to fetch the ID of the selected media.

    Regards

  • Eran Meir 401 posts 543 karma points
    Mar 18, 2013 @ 09:47
    Eran Meir
    0

    weird i deleted the thread, its not relevant anymore, thank you andreas for your help :)

  • Andreas Iseli 150 posts 427 karma points
    Mar 18, 2013 @ 10:19
    Andreas Iseli
    0

    No problem :)

  • 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