Copied to clipboard

Flag this post as spam?

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


  • kristian schneider 190 posts 351 karma points
    Aug 01, 2012 @ 17:31
    kristian schneider
    0

    How to get datatype from node property

    Hi.

    Is it posible to get information about the datatype of a nodes property?

    IProperty only contains information about the alias, value and version. 

    But I would like to get the coresponding datatype for that property so I can get its name,rendercontrol etc.

    Any sugestions?

  • Jigs 40 posts 63 karma points
    Aug 02, 2012 @ 03:16
    Jigs
    0

    hi,

    you can use ....this on document property ..... where d is a document .....

     var tem = d.getProperty("post").PropertyType.DataTypeDefinition.DataType;

    cheers,

    jigs

  • kristian schneider 190 posts 351 karma points
    Aug 02, 2012 @ 08:44
    kristian schneider
    0

    Spot on.

    Thanks jigs

  • 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