Documentation > CMS Template API Library > Asset > Parent
Parent
Gets this asset's parent folder. Tip: Don't use this if all you need is the parent's Id. Use FolderId.
Type
CrownPeak.CMSAPI.Asset
Value
The parent folder.
Code Example
C#
Sample:
	// Get the parent folder of the current asset
	Asset parentFolder = asset.Parent;
	if(parentFolder.IsLoaded)
	{
		Out.WriteLine("Path: " + parentFolder.AssetPath.ToString());
	}
