Documentation > CMS Template API Library > Asset > IsHidden
IsHidden
Is the asset hidden. Usually archived assets are hidden. This can be set through workflow or using the UI.
Type
System.Boolean
Value
Whether the asset is hidden
Code Example
C#
Sample:
Asset myAsset = Asset.Load("/PathTo/Asset"); if(myAsset.IsLoaded) { if(myAsset.IsHidden) { Out.WriteLine("This asset is hidden."); } }