Documentation > CMS Template API Library > Asset > FolderId
FolderId
Gets the asset id of the parent folder.
Type
System.Int32
Value
The folder id.
Code Example
C#
Sample:
	Asset myAsset = Asset.Load("/PathTo/Asset");
	if(myAsset.IsLoaded)
	{
		Out.WriteLine("Folder ID: " + myAsset.FolderId);	
	}
