Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Create local block instance without knowing blocktype

Vote:
 

I am trying to create a page programatically by looping through all the pagetype properties not using strong type, however the page contains a local block, I can get all the properties from the blockdata, but how can I attached this to the current page instance?

I've read Joel's blog post, his example is created with the strong typed page&block.

 

Thanks

 

#73003
Jul 03, 2013 17:38
Vote:
 

anyone give me a hint?

#73069
Jul 05, 2013 1:26
Vote:
 

What do you mean with "attach this to the current page instance"?

#73079
Jul 05, 2013 9:39
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.