V8 Get current content property values AngularJS DataType
In Umbraco 7 you could get the property values using editorState.current.tabs. In Umbraco 8 tabs does not exist and I can't find the way to get them. How do you get the content properties in Umbraco 8?
due to the new variation concept, there are major changes in the EditorState Object.
An easy way to get an overview is to write the editorstate object into the console or using the javascript debugger.
This is an example from an own project, how the editorstate looks in v8:
In v8 you can find the properties of the editorState in variants:
editorState.current.variants
Every variant has an array with all content apps, every app has the groups and every group the specific properties.
V8 Get current content property values AngularJS DataType
In Umbraco 7 you could get the property values using editorState.current.tabs. In Umbraco 8 tabs does not exist and I can't find the way to get them. How do you get the content properties in Umbraco 8?
Hi Nick,
due to the new variation concept, there are major changes in the EditorState Object. An easy way to get an overview is to write the editorstate object into the console or using the javascript debugger.
This is an example from an own project, how the editorstate looks in v8:
In v8 you can find the properties of the editorState in variants:
Every variant has an array with all content apps, every app has the groups and every group the specific properties.
I hope this help you?
Best, Sören
Thanks that's what I was looking for.
variants
is an array; what is it an array of?is working on a reply...