Try our conversational search powered by Generative AI!

Checking blog type

Vote:
 

When getting or querying for blogs it is possible to filter by the type of blog by passing a EPiServer.Community.Blog.BlogType enum value. But when I have a Blog object, is there any way to check which type it is? I'm using Relate 2.0.

#55581
Dec 08, 2011 10:38
Vote:
 

It turns out I can use Blog.OwnedBy.Context to figure it out. But IMHO Blog should have a property returning the BlogType directly to be consistent with the queries.

#55582
Dec 08, 2011 10:58
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.