Site structure
Version 5.x > Site structure > Combining content from linked documents View modes: 
User avatar
Member
Member
david.hollins-synersive - 4/15/2011 8:28:57 PM
   
Combining content from linked documents
I want to combine the sub pages under a document (A) and every where it is linked as well. So for instance if I link it twice and I have 2 sub documents under each link and 2 sub documents under the original, then I want the page to display all 6 documents when it is viewed. This way I can others contribute under different portions of the tree simultaneously.

Is this possible? I've checked all different path expressions, data sources, etc. and at this time can't come up with a way to make this work.

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 4/18/2011 3:34:36 AM
   
RE:Combining content from linked documents
Hello,

Regrettably, there is no path expression which would allow you to do this and neither a way to add multiple paths to a viewing web part. However, you can select those documents on a viewer web part with a custom WHERE condition. You can use the path expression "/%" to select the whole site and all it's documents and specify the WHERE condition as a couple of LIKE clauses, for example:

NodeAliasPath LIKE '%folderA%' OR NodeAliasPath LIKE '%folderB%' OR NodeAliasPath LIKE '%folderC%'

You can generate the WHERE condition also dynamically with a custom macro.

Best regards,
Boris Pocatko