Copied to clipboard

Flag this post as spam?

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


  • bob baty-barr 1180 posts 1294 karma points MVP
    Jan 21, 2011 @ 01:06
    bob baty-barr
    1

    using xpath checkbox to pull values from repeatable content?

    is it possible, and if so, how would i use the checkbox to pull vaules from a document with a repeatable content item or the new datatype of embedded content.

    it would be great to have that kind of control :)

    please, please, please say it is possible :P

  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    Jan 21, 2011 @ 17:45
    Hendy Racher
    1

    Hi Bob,

    Unfortunately that's not possible atm :(

    Had never considered using the XPath to select anything other than Nodes, as it's the Node names that become the labels, and a CSV of their Ids is stored (although an option to store a CSV of names was recently added).

    If the XPath were to be able select anything in the content tree, which values do we use for the name and value fields ? Perhaps the XPath is executed when configuring the datatype to see what attributes are available, or provide two textboxes to indicate attributes for the label and value fields, I wonder if that would work ?

    Cheers,

    Hendy

  • bob baty-barr 1180 posts 1294 karma points MVP
    Jan 21, 2011 @ 18:52
    bob baty-barr
    0

    you would be the man to ask on that one... as pretty much everything you said above was way over my head :)

    the option abillty to have such functionality out of the box would be AWESOME -- keep me posted.

  • bob baty-barr 1180 posts 1294 karma points MVP
    Jan 21, 2011 @ 19:00
    bob baty-barr
    0

    Hendy,

    what about a companion to the embedded content datatype as an embedded content picker? that allows you to pick the embedded content datatype you created and the id and value fields from that entity???

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Jan 21, 2011 @ 23:34
    Lee Kelleher
    2

    Although it sounds like a cool idea - and I'd say technically possible to develop it ... I can't help but shake the feeling that taking this approach is abusing the principles of a CMS.

    My thinking is that if you want to reference content (with pickers / data-types) then it would be better defined & structured as content nodes - as opposed to ad-hoc data that is used in Embedded Content (or Repeatable Custom Content, etc).

    I'm not trying to nay-say the idea - if there's a clear need, then I'd love for uComponents to accommodate it.

    Cheers, Lee.

  • bob baty-barr 1180 posts 1294 karma points MVP
    Jan 21, 2011 @ 23:54
    bob baty-barr
    2

    yeah, as i have been looking at it more all day... i think categories need to be referenced as structure nodes as well...

    you guys just throw out these super sexy dataTypes and i want to use them for everything :)

     

Please Sign in or register to post replies

Write your reply to:

Draft