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.
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 ?
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???
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.
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
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
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.
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???
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.
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 :)
is working on a reply...