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

ShowAcquireDocument

Displays a "select" and "clear" button that is used to upload a document into the current template.

public System.Void ShowAcquireDocument(String,String,String,String,Boolean)

Parameters

NameDescriptionType
label The label of the field when displayed. System.String
fieldName The field name where the uploaded filename will be stored. System.String
helpMessage Optional: 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.ShowAcquireDocument(Attachment, "attach"); %>
              
            

Connect with Crownpeak