Click or drag to resize

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.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
string[] AncestorEditionIds { get; }

Property Value

Type: String
Examples
Example of checking for a specific SourceEditionId in a custom hook:
C#
if(session.Site.Asset("a/100").AncestorEditionIds.Any(a => a.SourceEditionId == "a/100")){
    //Additional Actions
}
See Also