Click or drag to resize

IAssetHooksOnAfterCrossLocaleCopyAsset Method


This method is invoked after a non-Region-Root Asset was pasted under another Region Root.

Namespace: Ingeniux.CMS.Models.Hooks
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntax
void OnAfterCrossLocaleCopyAsset(
	IAssetItem sourcecontentItem,
	IAssetItem newcontentItem,
	IAssetFolder targetcontentItem,
	ILingualPageMap[] lingualMaps,
	IUserWriteSession session
)

Parameters

sourcecontentItem  IAssetItem
The content item that was copied.
newcontentItem  IAssetItem
The new content item that was created.
targetcontentItem  IAssetFolder
The target reference location content item.
lingualMaps  ILingualPageMap
The lingual maps established by the cross-locale copy operation.
session  IUserWriteSession
The session that must be used to perform tasks on additional objects.
Remarks
When this action is invoked, the objects involved have yet to be saved to the Content Store.
See Also