Click or drag to resize

IAssetItemPathHistory Property


Gets a list of previous paths for the object.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
string[] PathHistory { get; }

Property Value

Type: String
Examples
Example checking previous paths in a custom hook:
C#
var assetFolder = session.Site.AssetFolder("af/5");
int c;
if (assetFolder != null){
    foreach (var child in assetFolder.Assets(out c)){
        if (child.PathHistory.Any(a => a.ToLower().Contains("view"))){
            //Additional Actions
        }
    }
}
See Also