Good morning! Attaching files to pages has me stumped. I've attached files as explained here:
Added the web part to display on my template - but the default macro gives a 404 error for each file link.
The file url is something like this:
But the default transformation
<a target="_blank" href="<%# GetAbsoluteUrl(GetAttachmentUrl(Eval("AttachmentName"), Eval("NodeAliasPath")), EvalInteger("AttachmentSiteID")) %>">
<%# Eval("AttachmentName",true) %>
gives me something like this:
I'm not grouping these files - my goal is to attach up to 50 files to a page - then use Smart Search to be able to filter them by searching any term on the uploaded documents.
"The smart search allows users to search through the content of files uploaded as page attachments. The attachment search supports both types of file storage provided by Kentico (database or file system)." (lets hope this works)
I've looked at Brandon's blog post - but these are ungrouped attachments - so I'm still unable to find a solution. thanks in advance for your feedback.