IAssetAncestorEditionIds Property
|
Gets the collection of SourceEditionId strings of all ancestor editions of the content item.
Assets are connected as Source Editions when they are edited in the CMS and saved using Save As.
Namespace: Ingeniux.CMSAssembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntaxstring[] AncestorEditionIds { get; }ReadOnly Property AncestorEditionIds As String()
Get
property array<String^>^ AncestorEditionIds {
array<String^>^ get ();
}abstract AncestorEditionIds : string[] with get
Property Value
String
Example
Example of checking for a specific SourceEditionId in a custom hook:
if(session.Site.Asset("a/100").AncestorEditionIds.Any(a => a.SourceEditionId == "a/100")){
}
See Also