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

ShowSelectFolder

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

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

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
alwaysSend Optional: If true, the value of the field will always be sent from the frontend to the backend regardless of whether its state has changed. System.Boolean

Code Example

C#

Sample:

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

Connect with Crownpeak