Copied to clipboard

Flag this post as spam?

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


  • Sebastian Dammark 581 posts 1385 karma points
    Jan 21, 2014 @ 01:03
    Sebastian Dammark
    0

    URL-Picker and DataType Grid, bad combo ?

    If I use the URL-Picker as a normal property type on a document it work perfectly fine, and the output is rendered as regular XML.

     

    But if I use the same datatype in a DataType Grid the XML is rendered as text and I cannot xPath my way in.

    Any ideas for a fix or a workaround ?

  • Chriztian Steinmeier 2798 posts 8787 karma points MVP 7x admin c-trib
    Jan 21, 2014 @ 10:17
    Chriztian Steinmeier
    0

    Hi Sebastian,

    A quick fix would be to use the ParseXML extension, but make sure to file a bug report, as this is a useless way to store the value...

    /Chriztian

  • Chriztian Steinmeier 2798 posts 8787 karma points MVP 7x admin c-trib
    Jan 22, 2014 @ 15:39
    Chriztian Steinmeier
    0

    Just had a standard uComponents CheckBoxTree property save itself as text like that now - turns out it was because I'd converted the property from an XPath DropdownList, so it was somehow registered to store text instead of XML. Had to add a bogus property to the Doctype and save that before the property returned to storing XML again... (actually, I suspect it may be sufficient to just save the Doctype again?).

    So: Did you just change the DataTypeGrid property from a text-only type to the URL Picker by any chance?

    /Chriztian

Please Sign in or register to post replies

Write your reply to:

Draft