Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Web Part having capability to show a list of documents ( Must allow Transformation ) View modes: 
User avatar
Member
Member
vivek-iconics - 10/24/2012 4:33:35 PM
   
Web Part having capability to show a list of documents ( Must allow Transformation )
Hi All,

I am looking for a web part which can allow me to show a list of documents and also have the ability to include transformations. What I want to do is, show a list of documents to the user and then when the user clicks on it the document instead of getting downloaded get's opened in a new tab or the same tab ( As they are HTML documents). Can anyone also tell me which default transformation can help me in this case ? If not default , any idea on the new transformation to achieve my goal ?

Thanks

User avatar
Member
Member
kentico_davidb2 - 10/25/2012 4:06:05 AM
   
RE:Web Part having capability to show a list of documents ( Must allow Transformation )
Hello,

for your scenario, Repeater is the webpart you are looking for.

As for the transformation code, if you have sample Coporate Site, you can find a greate example if you go to Company -> Offices.

If you view this page in CMS Desk, you will find an Offices repeater. You should then have a look on the transformation it uses for listing Office Documents.

You will probably be most interested in this line of code:

<a href="<%# GetDocumentUrl() %>" class="header"><%# Eval("OfficeName", true) %></a>



Dave