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'm starting to use Umbraco mapper with Umbraco V8.1.3...
I have content with "name" that multi-language and "icon",
the icon property is always null unless I Allow varying by culture!!
this is my code:
var content = Umbraco.Content(Helper.CategoryContentId);
var result = new List<CategoryDto>();
var mapper = new UmbracoMapper();
mapper.MapCollection(content.ChildrenForAllCultures, result, lan, new Dictionary<string, PropertyMapping>
"CategoryName", new PropertyMapping
SourceProperty = CatrgoryProperties.categoryName
"Icon", new PropertyMapping
SourceProperty = CatrgoryProperties.iconName,
SourceRelatedProperty = "Url"
is there a way to get icon property ?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted