Don't miss out Virtual Happy Hour this Friday (April 26).
Try our conversational search powered by Generative AI!
AI OnAI Off
Don't miss out Virtual Happy Hour this Friday (April 26).
You can use the IContentRepository to load the block using the content reference. See more information here in the persisting a content instance section:
the key method is CreateWritableClone()
Hi All,
How can i update existing block programatically. I am able to create a new block and added it to contentArea but if i want to update this block, how can i do that?
I have gone through this post for creating block:
https://world.episerver.com/forum/legacy-forums/Episerver-7-CMS/Thread-Container/2015/6/programmatically-adding-blocks-to-a-contentarea---error/#123186