Hi,
I need to get some items based content, which has been related to an ecom group. I have an item type where I have made a dropdown where the creator of the item can select which ecomgroup the item is related to (using a SQL query to pupulate the item list). So the editor creates paragraph items related to ecom groups.
On the page I then need to get related items based on current ecom group name. I see more ways of doing this:
- A Data list which will find items based on requested ecom group
- A item publisher which will then filter out in the Loop the relevant items
- Create a new "viewer item" which will then use the requested ecom group name to decide which items to publish.
My focus is on performance, easy copy from one soloution to another and flexibility.
Which pattern would you suggest that I use? Is there perhaps a "magic" Razor based pattern to retrieve items and the filter tem?
Med venlig hilsen/Best regards,
Sten Hougaard
Webudvikler
A: København/Aarhus . W: www.1stweb.dk
@: netsi1964