Attachment name changes.

Anthony Gill asked on August 22, 2017 15:26

Hi, I am using the attachment web-part on one of my pages, if I click on the attachment to view or download depending on what the attachment is, the attached file name changes sometimes, is they a way to stop this from happening so that the file keeps its original name?

CMS version: 7.0 Build: 7.0.5088 OS version: Microsoft Windows NT 6.1.7601 Service Pack 1

Recent Answers


Brenden Kehren answered on August 22, 2017 15:54

The link for the file uses the attachments GUID. The name of the attachment is simply a property of the field and only used for display purposes. The attachment is actually stored and displayed using the GUID that is created for that attachment.

If you don't want this to happen then you should consider using the media library or a custom document type.

0 votesVote for this answer Mark as a Correct answer

Prashant Verma answered on August 23, 2017 07:07

Agree with Brenden, and recommend you to use media library with file Direct path (it always generate file path with original file name.)

Thanks

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.