DXM and Web Content Management
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CMS Knowledge Base

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 (3)
Version history
Revision #:
3 of 3
Last update:
‎05-01-2019 12:12 PM
Updated by:
 
Contributors
Looking for more?
Ask in Discussions
Developers

Peer-to-peer support  and answers on developing CMS templates, modifying privacy scripts or building integrations.

Digital Experience Management

Find answers and ask questions on content management, personalization and targeting.

Digital Quality Management

Find answers and ask questions on WCAG and SEO quality management.

Digital Governance

Find answers and ask questions on consent and monitoring solutions.