Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Related Documents repeater in Transformation View modes: 
User avatar
Certified Developer 8
Certified Developer 8
richard - 7/13/2010 11:29:31 PM
   
Related Documents repeater in Transformation
Hi

I am trying to get a bunch of related documents using a nested repeater in a transformation.

<cc1:CMSRepeater ID="CMSDataList1" runat="server" ClassNames="rubys.recipes" Path="/Recipes/%"
TransformationName="rubys.recipes.productrecipe" SelectTopN="1" OrderBy="NewID()" RelatedNodeIsOnTheLeftSide="true" RelationshipName="isrelatedto" DelayedLoading="False" RelationshipWithNodeGuid='<%#Eval("NodeGuid")%>'>
</cc1:CMSRepeater>

For the life of me I can't get it to work. Tried NestedControlID, DelayedLoading=true, onLoad in the transformation.

May have to use the custom functions? Do you have any code to use a repeater in a Custom function and return the results?

Cheers

Richard

User avatar
Member
Member
kentico_michal - 7/14/2010 4:18:47 AM
   
RE:Related Documents repeater in Transformation
Hi,

Could you please try to change following properties in the definition of repeater:

DelayedLoading="true" 
RelationshipWithNodeGuid='<%# ValidationHelper.GetGuid(Eval("NodeGUID", true), Guid.Empty) %>'
Path="/%"


Moreover, please do not set NestedControlID property.

Best Regards,
Michal Legen

User avatar
Certified Developer 8
Certified Developer 8
richard - 7/14/2010 5:05:29 PM
   
RE:Related Documents repeater in Transformation
Fabulous thanks Michal - worked Just GREAT!