Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Smart Search with files View modes: 
User avatar
Member
Member
lwhittemore-emh - 5/16/2013 9:42:20 AM
   
Smart Search with files
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?

User avatar
Member
Member
kentico_sandroj - 5/16/2013 9:39:45 PM
   
RE:Smart Search with files
Hello,

I believe this article will help you with this issue. I believe you need to add the control into the transformation for the attachment to display.

Please let me know if you need any additional clarification.

Regards,
Sandro