Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Problem retieve related docs View modes: 
User avatar
Member
Member
rajithasomarathna-yahoo - 1/24/2014 1:05:17 AM
   
Problem retieve related docs
I tried to display related documents using repeater..

<cms:CMSRepeater ID="rptListItems" runat="server" ClassNames="cd.stock" Path="/%" SelectTopN="5"
TransformationName="cd.stock.preview" RelationshipName="YouMayLike" RelatedNodeIsOnTheLeftSide="true" DelayedLoading="False" RelationshipWithNodeGUID="11111111-1111-1111-1111-111111111111" >
</cms:CMSRepeater>

the function is working on half side...when i add related products to document those are displaying on that document...that is working fine

But this process is not happenning in vise versa..(in the reverse way)

how to fix that?

User avatar
Member
Member
rajithasomarathna-yahoo - 1/24/2014 5:58:30 AM
   
RE:Problem retieve related docs
As an example when i add B as a related document to A document, B shows under A document correctly,but when i go to B document it is not show the document A as a related doc

User avatar
Kentico Consulting
Kentico Consulting
Kentico_RichardS - 1/26/2014 3:54:33 AM
   
RE:Problem retieve related docs
Hi,

Thank you for your message.

The reason it is acting this way is really by design behaviour. In the related docs webpart you can specify the relation ship with Current document is on the left side property. You can have it either checked or unchecked which represents which side of relation ship should be used.

What you can you is to place 2 related docs webparts next to each other and then on one check this property and on the other leave it unchecked.

Now you should see all related documents from both sides.

Let me know how that works.

Kind regards,
Richard Sustek

User avatar
Member
Member
rajithasomarathna-yahoo - 1/26/2014 11:39:27 PM
   
RE:Problem retieve related docs
hello Richard Sustek,

Thats work perfect....

Thank you!!!

User avatar
Kentico Consulting
Kentico Consulting
Kentico_RichardS - 1/28/2014 1:17:32 AM
   
RE:Problem retieve related docs
Hi,

Awesome, Im glad to hear that.

Thank you for letting me know.

Kind regards,
Richard Sustek