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
Hello,
I want to store a value of a custom datatype I wrote (not using the usercontrol wrapper). The value is always stored like this:
<test><![CDATA[79]]></test>
What do I need to do to save it like this?
<test>79</test>
I'm building the datatype using the Umbraco 4.5 API.
Jeroen
Already figured it out. In the PrevalueEditor I had the following:
this._dataType.DBType = DBTypes.Ntext;
This should have been (for storing id's):
this._dataType.DBType = DBTypes.Integer;
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Save value of custom datatype
Hello,
I want to store a value of a custom datatype I wrote (not using the usercontrol wrapper). The value is always stored like this:
What do I need to do to save it like this?
I'm building the datatype using the Umbraco 4.5 API.
Jeroen
Already figured it out. In the PrevalueEditor I had the following:
This should have been (for storing id's):
Jeroen
is working on a reply...