Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine >  associate attach to Article View modes: 
User avatar
Member
Member
navas13-gmail - 6/19/2010 5:56:07 PM
   
associate attach to Article
Hi i want to associate a link to a file on some article, how can i do that

ex.

inside my article list

article 1
article Tittle
teste text

LInk to file

tks

daniel

User avatar
Kentico Developer
Kentico Developer
kentico_martind - 6/20/2010 3:04:34 PM
   
RE: associate attach to Article
Hi Daniel,

You can add new field of type File (you can inspire by existing ArticleTeaserImage field) and then use following sample code in transformation to display link to file:

<a href="<%# GetFileUrl("NameOfNewField") %>">link</a>

Best Regards,

Martin Dobsicek