Click or drag to resize

IAssetManagerCrossLocaleCopyAssetItem Method


Copies a Asset with language settings, to another location of a new parent Asset Folder with language settings, when there is a Lingual Map established between the Region Roots of both assets.


Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntax
IEnumerable<ILingualPageMap> CrossLocaleCopyAssetItem(
	IAssetItem assetItem,
	IAssetFolder parent,
	bool ignoreExistingMaps = false
)

Parameters

assetItem  IAssetItem
Asset to be copied.
parent  IAssetFolder
Asset Folder into which the new copy of the Asset will be created.
ignoreExistingMaps  Boolean  (Optional)
Whether to ignore any existing Lingual Map of the source Asset that was already mapped to to the Locale of the "parent". If true, system will remove the existing map silently before creating a new one. If not, a error will be thrown. Default to false.

Return Value

IEnumerableILingualPageMap
The new Lingual Map between the source Asset and its copied asset at target location.
See Also