EdwardChan
Crownpeak Employee
Crownpeak Employee

Uploaded Asset Filenames

When using the Input.ShowAcquireDocument() or Input.ShowAcquireImage() CMS Template API controls and a user uploads a file directly into an asset from their local machine rather than selecting a pre-uploaded file from the CMS file system, the file is given a unique filename based on the asset to which it is attached.

image-control.JPG

Here is an example:

http://test.cp-access.com/folder1/asset_upload67913_96525.png

In this example the original asset is Asset ID 96525. The numbers after the _ will always be the asset id from which the uploaded file was published.

The folder, /folder1/, is the same folder in which the asset 96525 was published and will always be the default folder to which the asset is published.

If you wish to modify the provided name, please see How can I change the name of attached files

Labels (1)

Can't find what you are looking for?

Find Answers

Search our DXM Forum to find answers to questions asked by other DXM users.

Ask a Question

No luck? Ask a question. Our Product and Support teams are monitoring the Forum and typically respond within 48 hours.

Ask a Question