Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > GetDocument in Transformations View modes: 
User avatar
Member
Member
robert-tailor.co - 9/20/2012 10:05:33 PM
   
GetDocument in Transformations
Hi,

I need to get the class name of a document in a repeater transformation (to highlight documents of a different type). In other words, I want to retrieve the value of TreeNode.NodeClassName in a transformation.

How can i do this in a transformation?

Furthermore, how can I get all the other Node and Document values of the current document in a transformation?

Thanks.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 9/21/2012 2:13:10 AM
   
RE:GetDocument in Transformations
Hi,

Have you tried using <%# Eval("ClassName") %>?

Basically in the Eval function you can use any column name from the DB view View_CMS_Tree_Joined.

Best regards,
Juraj Ondrus