Not sure what happend thei, HTML stripped out below
We are investigating using content area's within blocks so blocks can be inserted within blocks and were wondering what peoples thoughts were on this. Does any one forsee any issues.
I know previously EPiServer did not recommend using Blocks in Blocks as editors can get lost in all the different views although the new UI in 8 has tidied it up alot more and simplifies alot of it.
Here is a quick example i made : http://screencast.com/t/HM20dHN6C
Hi, Minesh,
Your usecase looks quite fine to me, I don't see any issues with the approach. As long as you restrict the ContentArea to accept only certain type of block, it is very natural for the editors to use this, IMO.
What is not recommended is to overuse nested blocks for something that can be solved in a different way - ex. to simply group blocks (that could be solved with Bootstrap). I would also avoid using it too deep, block in a block in a block..., since if there is a need to use standard search, you would need to traverse through all the blocks to save the searchable properties (https://jstemerdink.wordpress.com/2014/06/06/indexing-blocks-with-episerver-search-part-2/) and it might affect performances if you have many levels.
BR,
Marija
Is there any way to get nested blocks data with page in content delivery api?
Out of the box its not possible although with development I think its achievable have a look at IContentModelMapper and DefaultContentModelMapper to customise what is returned in the payload.
Thanks for replying. While writing custom solution in Content Delivery API v3 i see that IContentModelMapper have changed and documentation is no where as of now
This does not exactly fulfill your requirements although could have a look here
and
I wrote an addon for 3.0 and above: https://www.hiddenfoundry.com/thoughts/expand-content-area-addon-for-content-delivery-api/
Hello All
We are investigating using content area's within blocks so blocks can be inserted within blocks and were wondering what peoples thoughts were on this. Does any one forsee any issues. I know previously EPiServer did not recommend using Blocks in Blocks as editors can get lost in all the different views although the new UI in 8 has tidied it up alot more and simplifies alot of it.
Here is a quick example i made : http://screencast.com/t/HM20dHN6C
Thanks
Minesh