10 Dec 2007
22 Nov 2010
Link to this post
I looked in the developer manual for an answer, but the content related to categories seems a bit dated...the developer manual itself says version 3.2 SP2 under "What is New in This Sitefinity Version" and there's no information I can find about how to work with them since the hierarchical categories were added. Is there newer documentation somewhere for the Categories API?
I'd like to extend Sitefinity in order to add a second property that works like Category. I know I can add custom metafields to generic content items, but I'd like to manage the allowed values for the property in the same way I can for categories. Specifically, I'd to add a Location, so that I can categorize content like:
And so on. The reason is that it would be easier to get a list of unique categories, in order to provide a pick list of, for example, locations in California. Then I could easily get a list of content items related to that location. I'm going to do this in a separate content provider based on Generic Content.
I'd rather not use categories themselves for this--I still want to be able to use them for other things. Is this possible?
Thanks in advance,