Adding mutiple document types to a related documents repeater

Tim G. asked on December 1, 2016 12:08

I have a repeater configured which is pulling in related documents. This works fine when I just want to pull from one document type but how can I configure this to pull from multiple document types?

For example I have something like this:

<cms:CMSRepeater ID="rptRelatedContent" runat="server" ClassNames="MyNameSpace.CustomDocumentType" Path="/%" RelationshipName="isrelatedto" RelationshipWithNodeGuid="11111111-1111-1111-1111-111111111111">
        <a href="~<%# Eval("NodeAliasPath") %>"><%# Eval("DocumentName") %></a>

How do I also get this to pull in 'CustomDocumentType02' and 'CustomDocumentType03'?

Correct Answer

Jan Hermann answered on December 1, 2016 13:04

It's ClassNames property:


0 votesVote for this answer Unmark Correct answer

Recent Answers

Tim G. answered on December 1, 2016 13:21

Thanks - I had an space between my ClassNames which was causing a server error.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.