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
Hi everyone, In the 7.6 version was added idType for some Data Types (Content Picker, Member Picker and etc.)
I understand that for some types is hard-coded which type will be used, udi or int?
Just in my code I use:
var dataTypeDisplay = Mapper.Map<IDataTypeDefinition, Umbraco.Web.Models.ContentEditing.DataTypeDisplay>(dataTypeDefinition);
to get config information and this property is missing.
Thanks
The same applies in V. 8.5.4:
var dataTypeDisplay = Mapper.Map<IDataType, Umbraco.Web.Models.ContentEditing.DataTypeDisplay>(dataType);
doesn't give me the idType and therefore the MediaPicker etc. used in a property page delivers an id as a string instead of the UDI.
If my package uses a property page with arbitrary property editors, how can I make sure, that the idType config value is set to "udi"?
Mirko
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Umbraco 7.6 and idType for some Data Types
Hi everyone, In the 7.6 version was added idType for some Data Types (Content Picker, Member Picker and etc.)
I understand that for some types is hard-coded which type will be used, udi or int?
Just in my code I use:
to get config information and this property is missing.
Thanks
The same applies in V. 8.5.4:
doesn't give me the idType and therefore the MediaPicker etc. used in a property page delivers an id as a string instead of the UDI.
If my package uses a property page with arbitrary property editors, how can I make sure, that the idType config value is set to "udi"?
Mirko
is working on a reply...