Attachment Name

Jeewani Jayasuriya asked on September 22, 2021 12:41

Hi, I want to display a my pdf document name on the website where I uploaded from CMS. Below is my I used in my "Transformation properties".

Relevant documents <a title="<%# Eval("FileDescription") %>" href="<%# GetFileUrl("AttachedDocument") %>">
<%# Eval("AttachedDocument") %>

But it will give a totally different name.

Please can someone help me.

Thanks!

Recent Answers


David te Kloese answered on November 3, 2021 14:52

How are the files stored in the CMS? Node Attachment, custom field, media library?

What control are you using to display the data, as it's possibly the datasource that is wrong?

You say it gives a different name, but is the link and content of the file itself correct? Or are you just getting random documents?

0 votesVote for this answer Mark as a Correct answer

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