Try our conversational search powered by Generative AI!

Changing the behavior of a copy operation

Vote:
 
I can't find a way to change the new page when the user does a copy of page because in the Created event, e.page is null. I've looked into the forum without success, does anyone have an idea? Thanks!
#12950
Feb 28, 2007 18:04
Vote:
 
Get the copied page from the e.PageLink PageData copyPage = EPiServer.Global.EPDataFactory.GetPage(e.PageLink, EPiServer.Security.AccessControlList.NoAccess); /HAXEN
#15144
Mar 02, 2007 10:34
Vote:
 
Ah yes of course! Thank you!
#15145
Mar 02, 2007 11:27
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.