Documentation > CMS Template API Library > Input > ShowSelectFolder(String,String,AssetPath,String,String)

ShowSelectFolder

Displays a "select" and "clear" button that is used to select a folder.

public System.Void ShowSelectFolder(String,String,AssetPath,String,String)

Parameters

NameDescriptionType
label The label. System.String
fieldName Name of the field. System.String
defaultFolder The default folder. CrownPeak.CMSAPI.AssetPath
helpMessage Optional: The help message. System.String
popupMessage Optional: The popup help message. System.String

Code Example

C#

Sample:

            [
                 <% Input.ShowSelectFolder("Folder", "selected_folder", asset.Parent.AssetPath); %>
            
            

Connect with Crownpeak