Iam trying to get my first u17 property editors working.
So far I have got all the TS/lit frount end working. But are now at the stage of creating the propertyValueConverter. In the process of outpting the structured model I need information from the Configuration.
From my searches it should be var config = propertyType.DataEditor.Configuration using the IPublishedPropertyType but from what I can see DataEditor is not exposed to IPublishedPropertyType .
Umbraco13 would be this var config = propertyType.DataType.Configuration
Just curious what you need the configuration for? So far, the configuration for me is mainly to limit or change the input the user can do, but I’ve never needed to use it for the conversion in a Property Value Converter. Can you tell me a bit more about that?
The configuration sets up a range of toggle buttons. So it becomes multi use. Each button holds a value that needs to be exposed to the Razer Website fountend.
Old methid was apply the value and store it with the documentType. But this means that if the value is changed in the configuration. Event document needs to be refreshed with the new value.
Be stroing the Id for the value in the Doctype when i want to get the value from the config and expose it the propertvalue. THis is the cleanest onesource of truth method.