I am developing a webpart related to blogs and is there any way to fetch the categories list url for that particular blog?


Categories for a blog are just stored in a list for that blog. You can use a Data View Web Part or calls to the object model to pluck them out like any other list. If you're looking to aggregate categories across multiple blogs, then use the Content Query web part or the SPQuery class to do a query in code (CAML).


If your blog is in this url for example:


Then your categories will probably be in


I believe it will always have the same name if you use the Blog site template.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.