Copied to clipboard

Flag this post as spam?

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


  • William Djingga 27 posts 53 karma points
    Mar 18, 2011 @ 05:19
    William Djingga
    0

    Get Document Property Name using API

    Hi All.

    Is there a way to get a property name (NOT the alias) of particular node ?

    At the moment inside the property class , there're only Value and Alias properties to get the property alias and the the value of that property

    e.g : Property prop = new Property();

           var value = prop.Value;

           var alias = prop.Alias;  

           var name = ? prop.name?

    Thanks

  • skiltz 501 posts 701 karma points
    Mar 18, 2011 @ 07:54
    skiltz
    0

    prop.text from memory.

  • William Djingga 27 posts 53 karma points
    Mar 18, 2011 @ 23:47
    William Djingga
    1

    Ah....Found It.

    It's umbraco.library.GetPropertyTypeName method that i am looking for... 

Please Sign in or register to post replies

Write your reply to:

Draft