Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I've written a custom datatype using the usercontrol wrapper. I'm using it in a mediatype. The data is stored as xml, i've checked the data is storing correctly and its fine. But when it's returned in the media type it returns a string
ie this xml:
would return 'hellobye'
I've tested the datatype in a document type and it works correctly, returning the data as xml.
Anyone have any idea why a media type would reuturn the data differently?
Can anyone explain how a media type differers from a doc type in terms of hows it retrieves data?
Have I just come across a bug in umbraco?
It appears that a media type property cannot return xml, just tried it with ucomponents url picker and got the same results.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted