Documentation > CMS Template API Library > ShowAcquireParams > UploadType

UploadType

Optional: Changing this setting is not recommended. Use ShowUpload to control whether the upload control that lets you upload a file will be displayed when you call one of the ShowAcquire methods. Set to RelationshipType.Attach or RelationshipType.Link, if you want to be able to upload files with the control. Attach is recommended. Link will cause a new asset to be created.

Type

CrownPeak.CMSAPI.RelationshipType

Value

A RelationshipType param. Default is RelationshipType.Attach

Connect with Crownpeak