Undesirable Behavior: DynamicContent.GetValue(string)
When a text-based content item field is hidden, the following must be used to retrieve the value:
DynamicContent.GetValue<
string
>(
"field"
)
DynamicContent.GetValue<Lstring>(
"field"
)
Hello,
GetValue<
string
>
and to get the second one: GetValue<Lstring>
. Please review your custom fields in the backend of Sitefinity. Agreed, this is confusing. The consumer shouldn't have to worry about Lstring, or string.
Hi Adam,
Thank you for your feedback.
Regards,
Stefani Tacheva
Telerik