Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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

share|improve this question
add comment

2 Answers

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).

share|improve this answer
add comment

If your blog is in this url for example:

http://site/blogs/blog

Then your categories will probably be in

http://site/blogs/Lists/categories

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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