Documentation > CMS Template API Library > UploadedFiles

CrownPeak.CMSAPI.UploadedFiles

Collection of uploaded files in this context.

NameDescriptionType
GetPath

The current value of the upload with the given key from the last edit session. If this is PostInput then the value is uncommitted.

Method
HasKey

Was the given field submitted on the last post.

Method
WasCleared

Returns true if the fields specified by key was cleared on the last edit. Only valid in post input. Returns false in all other contexts.

Method
Count

The number of items in this collection.

Property
Item[String]

Gets the uploaded file value with the specified key.

Property

Connect with Crownpeak