Documentation > CMS Template API Library > InputForm > GetPanelsFromFolder(Asset,String,FilterParams,AssetType,String,String)

GetPanelsFromFolder

The same as but with instead of .

public List<AssetPanelEntry> GetPanelsFromFolder(Asset,String,FilterParams,AssetType,String,String)

Parameters

NameDescriptionType
folder The folder that contains the assets to bind to the panels CrownPeak.CMSAPI.Asset
panelName The panel name System.String
filterParams A FilterParams object that allows you to change how the list of bound assets is generated. CrownPeak.CMSAPI.FilterParams
type Optional: Allows you to specify a type of asset (files or folders) to return. By default, both are returned. CrownPeak.CMSAPI.AssetType
labelName Optional: The string that will be used to store the folder's label when we store the panel data. Use lower case. Defaults to panelName + ".label" System.String
idName Optional: The string that will be used to store the folder's id when we store the panel data. Use lower case. Defaults to panelName + ".id" System.String

Connect with Crownpeak