Click or drag to resize

IPageHooksOnAfterPasteSpecial Method


Custom hook that fires after a copied Page is pasted.

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

Parameters

sourcecontentItem  IPage
Source Page being copied.
newcontentItem  IPage
Newly pasted Page.
targetcontentItem  IPage
Target Page location, either parent or sibling to the new page.
relation  EnumCopyActions
Contains information about what relation the new Page will have to the targetcontentItem.
session  IUserWriteSession
IUserWriteSession in which the Page is loaded in.
Remarks
This hook is not invoked by CSAPI, but by the middle tier, since it was a hack from ActiveX client era.
See Also