Get new articles which where not used already on t...
# help-with-umbraco
p
I have a blocklist with a block called articleRow. On the start page i want to use this block multiple times and display different articles in each block. Now how could i provide the controller where i fetch the data with the already used articles? Is there anything like a global state which i could fill? Before we always worked with ViewData and passed it everywhere we needed and filled it up. But i dont think this is the cleanest way to do it.
m
Hi, why not have one block that shows multiple articles?
p
This is the start page. One block "Artikel" block can show multiple articles but this block is also used down below. And the block should always show the newest articles in descending order. Now the second block should know which articles where already used.
Is this possible at all with blocks?
m
I think you could use ViewData or TempData Request cache would also be an option
d
Or the
Items
dictionary on your httpcontext