Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I'm trying to have an event which fires after a content node is created of a certain document type. This will then create a media folder with the same name.
https://our.umbraco.org/Documentation/Reference/Events-v6/Application-Startup
I think this maybe what you are looking for:
https://our.umbraco.org/documentation/Reference/Events-v6/ContentService-Events
You can hook into the saving/saved events and create the media folder if it does not exists.
Thanks Jason. I'll give it ago and report back.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Creating a Related Media Folder when Content Node Created
Hi,
I'm trying to have an event which fires after a content node is created of a certain document type. This will then create a media folder with the same name.
https://our.umbraco.org/Documentation/Reference/Events-v6/Application-Startup
I think this maybe what you are looking for:
https://our.umbraco.org/documentation/Reference/Events-v6/ContentService-Events
You can hook into the saving/saved events and create the media folder if it does not exists.
Thanks Jason. I'll give it ago and report back.
is working on a reply...