Copied to clipboard

Flag this post as spam?

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


  • Mikael Mørup 297 posts 326 karma points
    Aug 14, 2009 @ 12:38
    Mikael Mørup
    0

    document API getProperty problem

    when i use the document API to read a property on a page that is a dropdownbox datatype, like this

    Doc.getProperty("propertyalias").Value

    I get the prevalue for the selected item in the dropdownbox.

    How do i get the actual text from the dropdown ?

    Thanks

    Mikael

     

  • Thomas Höhler 1237 posts 1709 karma points MVP
    Aug 14, 2009 @ 12:42
    Thomas Höhler
    100

    umbraco.library.GetPreValueAsString()

    hth, Thomas

  • Mikael Mørup 297 posts 326 karma points
    Aug 14, 2009 @ 12:52
    Mikael Mørup
    0

    Thanks Thomas

    The embarrasing thing, is that i discovered that in the old forum 20 seconds after posting here - should have looked there first :-)

    But now it's also in the new forum if others search here.

    Mikael

Please Sign in or register to post replies

Write your reply to:

Draft