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
Has anyone had any success with accessing the data from this datatype?
When looking in the umbraco.config file to see how the data is structured I see this:
<categories><![CDATA[Advice Arts and crafts Book sales Books out loud Games Learning Local history Reading Writing]]></categories>
Yet when I try to access it from a view using any of the usual methods such as...
@Umbraco.Field("categories")
or
@Model.Content.GetProperty("categories").Value
etc
... I get System.String[] returned back to the view.
System.String[]
It looks like when calling the datatypes' value, the type is actually being returned instead of the value.
Bug in the datatype?
Many thanks.
Just noticed that this has already been added to the issue tracker - http://issues.umbraco.org/issue/U4-4166
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Mutliple Textbox (Umbraco.MultipleTextstring) datatype
Hello
Has anyone had any success with accessing the data from this datatype?
When looking in the umbraco.config file to see how the data is structured I see this:
Yet when I try to access it from a view using any of the usual methods such as...
or
etc
... I get
System.String[]
returned back to the view.It looks like when calling the datatypes' value, the type is actually being returned instead of the value.
Bug in the datatype?
Many thanks.
Just noticed that this has already been added to the issue tracker - http://issues.umbraco.org/issue/U4-4166
is working on a reply...