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 like to extend copy functionality to show message or dialog when copy finished. Also, when copy published page I want to set copied page as unpublished and set username of the person who copied page instead of original page creator.
Any help really appreciated.
Hey Pagggy
You can do this using the Copying or Copied event on the contentservice https://our.umbraco.com/documentation/reference/events/contentservice-events.
Thanks Seven, Managed to extend ContentService.Copying
protected override void ApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext) { ContentService.Copying += ContentServiceOnCopying; } public void ContentServiceOnCopying(IContentService sender, CopyEventArgs<IContent> copyEventArgs) { // Change property }
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Extend Copy functionality to show notification of copy & change some attributes for the new node
Hi , I like to extend copy functionality to show message or dialog when copy finished. Also, when copy published page I want to set copied page as unpublished and set username of the person who copied page instead of original page creator.
Any help really appreciated.
Hey Pagggy
You can do this using the Copying or Copied event on the contentservice https://our.umbraco.com/documentation/reference/events/contentservice-events.
Thanks Seven, Managed to extend ContentService.Copying
is working on a reply...