World is now on Opti ID! Learn more
AI OnAI Off
World is now on Opti ID! Learn more
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