Markus Johansson
10/05/2024, 10:06 AMumbracoDataType
table called propertyEditorUiAlias
. For unknown property editors, Umbraco will just copy the value from the propertyEditorAlias
column into propertyEditorUiAlias
. This would mean that the Schema and UI-extensions would need to have the same alias which is not possible AFAIK.
Heres a issue with more details: https://github.com/enkelmedia/Umbraco-SeoVisualizer/issues/31
In my case, I'm thinking of adding a migration to the package that would change the value of propertyEditorUiAlias
to the alias of my Property Editor Ui Extention.
I'm I on the right path here or something that I'm missing?Warren Buckley
10/07/2024, 6:50 AMMarkus Johansson
10/07/2024, 7:53 AMpropertyEditorUiAlias
to the same as the editorAlias
which is kind of not awesome, if I understand things right:
EditorAlias = Property Editor Schema Alias
EditorUiAlias = Property Editor Ui Alias
Since they are set to the same value we can't register both the schema and the UI as an extention with the same alias.
I ended up with this that seems to work https://github.com/enkelmedia/Umbraco-SeoVisualizer/blob/v14/SeoVisualizer/Migrations/V_14_0_0/RenamePropertyEditorUiAliasMigration.cs
It would have been better if the core-migration just took the old editorAlias
appended Ui
so that the aliases were different. I might be missing something here so that's why I asked 😄Warren Buckley
10/07/2024, 7:56 AM