Copied to clipboard

Flag this post as spam?

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


  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Mar 05, 2012 @ 17:21
    Lee Kelleher
    0

    Property Picker Data Type?

    Before I re-invent the wheel, does anyone know of an existing data-type that lists the properties of a content type (whether that be a document, media or member type)?

    Having a look around the core/APIs, there is a macro rendering control called "propertyTypePicker", which is almost what I am after.

    If one doesn't exist, then I'll code one up for uComponents vNext.

    Cheers, Lee.

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Mar 06, 2012 @ 01:31
    Lee Kelleher
    0

    Couldn't find one... so I wrote one for uComponents.  Will be released in v4.0.

    Cheers, Lee.

  • fabrice 104 posts 227 karma points
    Aug 20, 2012 @ 10:51
    fabrice
    0

    Cool thanks,

    I'm trying to figure out if which case we would need that new datatype, could you please give an example of why to use it ?

    Thank you very much

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Aug 20, 2012 @ 16:42
    Lee Kelleher
    0

    Hi fabrice,

    For a client project there was a requirement to map a content node to a member property (can't go into too much detail, under NDAs) ... so we used that data-type for mapping purposes.

    Other uses could be when you want to specify a property alias within a macro, e.g. for an RSS feed, knowing which field contains the title, description, etc.

    The current usage may be edge-case, but as with most uComponents data-types, when you do need them - they are available to help.

    Cheers, Lee.

  • fabrice 104 posts 227 karma points
    Aug 21, 2012 @ 08:14
    fabrice
    0

    Super thank you very much

Please Sign in or register to post replies

Write your reply to:

Draft