Try our conversational search powered by Generative AI!

Filtering the Category selection property

Vote:
 

Hi,

Is it possible to restrict the Category selection property to only allow the user to select categories of a particular name?

For example, if I set up a parent category called Person, and then I define children of this (e.g. Doctor, Fireman, Teacher), can I get the Category selection property to only display the categories within the Person parent and to ignore all other exisiting categories?

I hope I'm making sense!

Thanks,

Robert

#45463
Nov 08, 2010 13:41
Vote:
 

I had a solution for this some time back: http://world.episerver.com/Blogs/Magnus-Paulsson/Dates/2009/9/Automatic-Sub-Category-Property-Type/

However, if you are using CMS 6 I suggest you use Property Settings to save a setting for the root category rather than to infer it from the property name like I did back then.

#45474
Nov 08, 2010 16:31
Vote:
 
A also wrote a blog about this a while back http://labs.episerver.com/en/Blogs/Anders-Hattestad/Dates/2009/3/Category---more-than-labeling/ Basicly what you can do here is to make one branch of your category tree selecteble and even add on the fly
#45477
Nov 08, 2010 18:34
Vote:
 
Thanks guys, I'll check out your suggestions.
#45763
Nov 16, 2010 15:40
* 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.