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 583 posts 1407 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 2800 posts 8791 karma points MVP 8x 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 2800 posts 8791 karma points MVP 8x 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

  • 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