Hi,

On Adobe AEM version 6.2 with oak-core 1.4.11, I try to configure the following 
behavior without success:

On my assets, I have properties under jcr:content/metadata/products/{id}

I aggregate it using:

        <aggregates jcr:primaryType="nt:unstructured">
            <dam:Asset jcr:primaryType="nt:unstructured" 
includePropertyTypes="[String]">
                <include0
                    jcr:primaryType="nt:unstructured"
                    path="jcr:content/metadata/public"/>
                <include1
                    jcr:primaryType="nt:unstructured"
                    path="jcr:content/metadata/products/*"/>
            </dam:Asset>
        </aggregates>

Among those properties I want to exclude the color property, so I tried to 
configure it on the <properties> level using excludeFromAggregation.
The issue is that that I can't use wildcard in the name property definition as 
below. I also tried with isRegex without success.

                    <excludeProductColor
                        jcr:primaryType="nt:unstructured"
                        name="jcr:content/metadata/products/*/color"
                        propertyIndex="{Boolean}true"
                        type="String"
                        excludeFromAggregation="{Boolean}true"
                        index="{Boolean}false"/>

Do you have any advice on how I could achieve this behavior ?

Best regards,

Maxime Nougarede
Tech Lead

30-34 Rue du Chemin Vert
75011 Paris, France

T   +33 1 72 63 22 78





------------------------------------------------------------------------
Disclaimer The information in this email and any attachments may contain 
proprietary and confidential information that is intended for the addressee(s) 
only. If you are not the intended recipient, you are hereby notified that any 
disclosure, copying, distribution, retention or use of the contents of this 
information is prohibited. When addressed to our clients or vendors, any 
information contained in this e-mail or any attachments is subject to the terms 
and conditions in any governing contract. If you have received this e-mail in 
error, please immediately contact the sender and delete the e-mail.

Reply via email to