I am trying to create a search that only shows a custom document I created for files. In the results I want the link that shows to go directly to the file attachment and not the documents page.
I am trying to use this in the transformation
<a style="font-weight: bold" href='<%# GetFileUrl("FileAttachment") %>' target='_blank'>
however it doesn't seem to work.
I have the FileAttachment set as searchable but it doesn't seem to help either.
Any thoughts?