Kentico CMS 6.0 Developer's Guide

Attachment names

Attachment names

Previous topic Next topic Mail us feedback on this topic!  

Attachment names

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

Attachment names are unique for a document (or its version). If you try to upload an attachment that has the same name as some already existing attachment of the particular document, the new attachment gets a number in the -(1) format attached to its name.

 

This happens for the attachments to be accessible via friendly URLs in the following format:

 

~/getattachment/<node_alias_path>/<safe_filename>.<extension>