umbraco / Umbraco.UIBuilder.Issues

Back office UI builder for Umbraco
3 stars 2 forks source link

Set datatype by guid #67

Closed bjarnef closed 10 months ago

bjarnef commented 10 months ago

It seems currently the SetDataType() has two overload methods:

SetDataType(string name)
SetDataType(int id)

but I think if would be great to have SetDataType(Guid id) as well if having multiple environments, where the id may not be identical and the downside with datatype name is that I guess it will break if the datatype instance is renamed :)

image

bjarnef commented 10 months ago

Btw. I opened this as a bug since the "Features and Ideas" opens: https://github.com/outfielddigital/konstrukt/discussions

The "Support Question" and "Documentation Issue" may also need to be updated.

mattbrailsford commented 10 months ago

So I quickly added a fix and I've pushed a nightly to the Umbraco nightly feed if you'd like to try that https://docs.umbraco.com/umbraco-cms/fundamentals/setup/install/installing-nightly-builds 12.0.1--preview.5

mattbrailsford commented 10 months ago

Implemented in 10.0.1 and 12.0.1