Developer forum

Forum » CMS - Standard features » Itempublisher with multiple itemtypes

Itempublisher with multiple itemtypes

Kurt Moskjær Andersen
Reply

Hi,

Is it possible to use the itempublisher with multiple itemtypes, instead of just one?

We have a customer with a campaign page. I would like to show all itemtypes below this page, no matter what kind of itemtype they have.
I know I can create an itemspublisher for each itemtype, but this does not merge all the itemtypes into one output.

I'm aware, that the itemtypes must have almost the same properties, in order for this to work.

 

Kurt Moskjaer Andersen


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Kurt

This has been discussed before - and as you state, it does not make much sense to make a combined list of item types with different properties.

But you can use inheritance - have a base item type with shared properties and specific item types inheriting that, and then publish using the base item type.

BR Nicolai

 

You must be logged in to post in the forum