-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Greetings:
I'm new to Geta.Optimizely.Categories and to Optimizely CMS and I have built a Categories prototype with using the Alloy demo site. Everything seems to be working well and I can control my categories in the way that's needed except for one case...
In my 'Select Categories' tree, I need to only display the parent-child category types for a given category and only child types should be selectable(allowed). I've tried the following combinations of appsettings and AllowedType attribution but, at best, have only been able to meet 2 of my 3 goals.
I'm hoping that you can provide some guidance about whether all 3 goals can be achieved and, if so, how to go about achieving it -or- if this is a new capability that should be added to the App?
Regards,
Matt
Goals:
In Select Categories tree:
- Display ProductCat1(parent) as RestrictedType
- Display ProductChildCat1 & ProductChildCat2 as AllowedTypes
- Do not display any other parent types such as NewsCat1 and SearchCat1
Try 1:
Config:
- AllowedTypes: ProductCat1, ProductChildCat1 & ProductChildCat2
- HideDisallowedRootCategories = true
Result: In Select Categories tree
- Fail-ProductCat1(parent) displays as an AllowedType
- Pass-ProductChildCat1 & ProductChildCat2 display as AllowedTypes
- Pass-Do not display any other parent types such as NewsCat1 and SearchCat1
Try 2:
Config:
- AllowedTypes: ProductChildCat1 & ProductChildCat2
- RestrictedTypes: ProductCat1
- HideDisallowedRootCategories = true
Result: In Select Categories tree -
- Fail-ProductCat1(parent) does not display.
- Fail-ProductChildCat1 & ProductChildCat2 do not display.
- Pass-Do not display any other parent types such as NewsCat1 and SearchCat1
Try 3:
Config:
- AllowedTypes: ProductChildCat1 & ProductChildCat2
- RestrictedTypes: ProductCat1
- HideDisallowedRootCategories = false
Result: In Select Categories tree -
- Pass-Display ProductCat1(parent) as RestrictedType
- Pass-Display ProductChildCat1 & ProductChildCat2 as AllowedTypes
- Fail-Do not display any other parent types such as NewsCat1 and SearchCat1



