Try our conversational search powered by Generative AI!

create Blog programmatically with BlogType.UserBlog

Vote:
 

Hi,

I it possible to create a Blog programmatically of BlogType.UserBlog 

So far I have:

Blog Bl= new Blog("blogname", "body",  theAuthor);

BlogHandler.Instance.AddBlog(Bl);

 

Thanks

#47421
Jan 27, 2011 15:49
Vote:
 

Hi,

Joel Abrahamson has a great blog post regarding this issue, I think it could help you.

Please have a look: http://labs.episerver.com/en/Blogs/Joel-Abrahamsson/Dates2/2009/3/Extending-community-entities/

Regards,

Hai

#47432
Jan 28, 2011 7:50
This thread is locked and should be used for reference only. Please use the Legacy add-ons 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.