Copied to clipboard

Flag this post as spam?

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


  • Ben 91 posts 111 karma points
    Dec 11, 2011 @ 17:56
    Ben
    0

    ultimate picker ddls via xslt

    Hi' I use some ultimate pickers in order to create some dropdown lists in my umbraco control panel. 

    My problem is when I want to access a specific ultimate picker by its rendred node id. 

    Can I do it with XSLT? if not, Is there another suggested way?

     

    Thnks from advance!

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Dec 11, 2011 @ 21:50
    Jan Skovgaard
    0

    Hi Ben

    You should be able to fetch the selected values from the ultimate picker by referencing the property alias where you're using the datatype. It can be done using XSLT, Razor or C#... :)

    /Jan

  • Ben 91 posts 111 karma points
    Dec 11, 2011 @ 22:53
    Ben
    0

    Thanks for the reply.

    Finding the selected value by the property alias is not the issue. I need to find it by the ultimate picker's rendered node id.

    Something else which could be useful for me is finding the property's value by its alias name in a variable. For instance:

    <xsl:variable name="name" select="alias1" />

    <xsl:value-of select="./data[@alias=$name]" />

    I know it was possible with the old schema, is there a way to do it with the new schema?

     

    Anyway, I would strongly prefer the first method(finding by the ultimate picker's rendred node id)

Please Sign in or register to post replies

Write your reply to:

Draft