In our project we are trying to create context hub segments under etc/segmentation/contexthub/ourapplication.
But when we are creting it is getting stored under etc/segmentation/contexthub.
We found that while creting the segments post.jsp is called (/libs/cq/contexthub/components/new-segment/create/POST.jsp). In this jsp they have hardcoded the path as etc/segmentation/contexthub. So we have to overlay this jsp to make changes so that the segments are created under our mentioned path.
I have a similar requirement where I have to create multiple segments/audiences (around 100) and want to group those segments in a hierarchical manner under contexthub. Is this possible ?
Example: Let's say my users are vendors from different industries like travel, infra, life-sciences etc., I want to show personalized content to each vendor (No two vendors will see the same content). In this case, if I want to group the segments/audiences based on the industry under contexthub, how can I achieve it ? E.g., /etc/segmentation/contexthub/<industry>/<vendor>