Click or drag to resize

IPageHooksOnAfterCopy Method


Custom hook that fires after a Page is copied.

Namespace:  Ingeniux.CMS.Models.Hooks
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
void OnAfterCopy(
	IPage sourcecontentItem,
	IPage newcontentItem,
	IPage targetcontentItem,
	EnumCopyActions relation,
	IUserWriteSession session
)

Parameters

sourcecontentItem
Type: Ingeniux.CMSIPage
Source Page being copied.
newcontentItem
Type: Ingeniux.CMSIPage
Newly pasted Page.
targetcontentItem
Type: Ingeniux.CMSIPage
Target Page location, either parent or sibling to the new page.
relation
Type: Ingeniux.CMS.EnumsEnumCopyActions
Contains information about what relation the new Page will have to the targetcontentItem.
session
Type: Ingeniux.CMSIUserWriteSession
IUserWriteSession in which the Page is loaded in.
See Also