I have a document type with a dropdown, I would like to initialize the value of the dropdown when the user instantiate the document type in the content tree based on business logic. (initial value could be different depending the context)
Saved and Saving are too late. I want to initialize when the content is added to content tree.
Subscribe to content adding in content tree
Hello guys,
I have a document type with a dropdown, I would like to initialize the value of the dropdown when the user instantiate the document type in the content tree based on business logic. (initial value could be different depending the context)
Saved and Saving are too late. I want to initialize when the content is added to content tree.
I saw that it was possible to attach logic to events here: https://our.umbraco.com/Documentation/Getting-Started/Code/Subscribing-To-Events/index-v7
But I don't see any event related to the one i'm interested in.
Do you know if it's possible ?
Edit: I found this in the official documentation: https://our.umbraco.com/Documentation/Reference/Events/EditorModel-Events/index-v7
Seems great on paper, but the event does not fire when I add a new content node via a "node picker" :(
Thx, Ali
is working on a reply...