Portal Engine
Version 3.x > Portal Engine > Search Results - Doc Type View modes: 
User avatar
Member
Member
danielrichard-oaot - 11/27/2008 8:31:17 AM
   
Search Results - Doc Type
Is there a way to add the file type in the search results transformation? For example:

- Home Page (Web Page)
- My Photo (Image)
- My Attachment (File)

Something like this so the end-user knows if they're opening a web page, PDF, Image, etc.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 11/27/2008 9:16:50 AM
   
RE:Search Results - Doc Type
Hi,

You can use in the transformation in the Eval function any column from the View_CMS_Tree_Joined view in the DB. So, in your case you can use Eval("ClassDisplayName") and this will display the type of the document.

Best Regards,
Juraj Ondrus

User avatar
Member
Member
danielrichard-oaot - 11/27/2008 9:44:49 AM
   
RE:Search Results - Doc Type
Exactly what I'm looking for. Thanks!