Changes to filter not reflecting in AEM UI
Changes to group predicates or newly added predicates in AEM don’t appear in the UI, even after successful pipeline deployments. It happens due to reused cached artifacts or misconfigured deployment settings. To fix this, update pipeline variables, adjust configuration files, and redeploy the code.
Description description
Environment
Adobe Experience Manager as a Cloud Service (AEMaaCS)
Issue/Symptoms
- Changes made to a group predicate, such as adding new predicates or creating new group predicates, don’t appear in the AEM UI.
- Updates to existing search predicates within a group predicate are reflected, but newly added predicates are not visible.
- This behavior persists despite deploying pipelines successfully.
Steps to replicate:
- Verify that the
CM_DISABLE_BUILD_REUSEvariable is set totruefor the development pipeline to prevent reuse of old artifacts. - Make dummy changes under the
ui.contentmodule and deploy them on the development environment using Cloud Manager. - Check if changes are reflected in the AEM UI after deployment.
Resolution resolution
-
When the changes made to the
ui.content moduledon’t reflect:- In the
ui.content modulemodule’spom.xmlfile, remove<cloudManagerTarget>none</cloudManagerTarget>element. This tag excludes the module from Cloud Manager builds, which prevents your changes from being deployed. Removing it ensures theui.contentmodule is included in the pipeline deployment. - Redeploy the code using Cloud Manager.
- In the
-
If removing
<cloudManagerTarget>doesn’t resolve the issue:- Manually increment submodule versions in development and QA branches by setting
1.0.0-SNAPSHOTin all relevantpom.xmlfiles, including the mainpom.xml. - Build the project locally and ensure it builds successfully.
- Deploy this updated code on both development and QA environments via their respective pipelines.
- Manually increment submodule versions in development and QA branches by setting
-
Test by making additional changes to confirm that subsequent deployments reflect updates correctly in both environments.
Related reading
- Implementing a Custom Predicate Evaluator for the Query Builder in AEMaaCS User Guide
- Search facets in AEMaaCS User Guide
- Deploying to AEM as a Cloud Service in AEMaaCS User Guide
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f