Append/inject/extend content type properties with additional view (and/or NG controller)
Hola!
Like the title says, I'm trying to preferably append (during processing), or else inject (during runtime) a custom view (hooked up to an NG controller) into or below a property view (that's registered for a content type).
What I've tried so far without success:
Checked services like IContentTypeService, IContentService, IMacroService, etc. for ways to dynamically add relevant stuff.
Checked whether it's possible to bind a macro (from code) to a property (IPropertyType).
Checked to see if it's possible to extend existing editors.
It is possible to query the content type form with angular.element('form [name=contentForm]') and navigate through the $$controller objects to get properties. Jet, it's a bit hacky to query the HTML DOM and inject custom code, because references (like class or form names) might change.
Anyone out there with suggestions, solutions or is just generally intrested in talking about real-time validation in the backoffice?
Append/inject/extend content type properties with additional view (and/or NG controller)
Hola!
Like the title says, I'm trying to preferably append (during processing), or else inject (during runtime) a custom view (hooked up to an NG controller) into or below a property view (that's registered for a content type).
What I've tried so far without success:
IContentTypeService
,IContentService
,IMacroService
, etc. for ways to dynamically add relevant stuff.IPropertyType
).It is possible to query the content type form with
angular.element('form [name=contentForm]')
and navigate through the$$controller
objects to get properties. Jet, it's a bit hacky to query the HTML DOM and inject custom code, because references (like class or form names) might change.Anyone out there with suggestions, solutions or is just generally intrested in talking about real-time validation in the backoffice?
is working on a reply...