DC 5.3.0 6.4 - Upload/Replace

Uploading ore replacing of files in the DAM Center is done as a sequence of steps which gives the following advantages:

  • Support for uploading any file size.
  • Ability to resume broken uploads from the client.
  • Add metadata before or during actual file data is sent. For large files, this is an advantage

The steps in order:

  1. Initiate upload by calling method IntiateUpload
  2. Invoke method UploadFileChunks to send the data in chunks.
  3. If uploading, Invoke method UploadAsset to finalize upload
  4. if replacing, invoke method ReplaceAsset to finalize replace

After UploadAsset or ReplaceAsset, the job system will begin all necessary transcodes and other workflow defines steps. As stated, it is also possible to work with the asset before the actual file has been uploaded. This is possible because all the metadata service endpoint needs, is the itemId. You get that already from the first step in the upload process.