January 2, 2021
Estimated Post Reading Time ~

AEM + Search&Promote Integration Uses Stage

Adobe Search&Promote is a powerful SaaS search offering within the Adobe Marketing Cloud. Adobe offers integration between Adobe Experience Manager and Adobe Search&Promote using AEM’s Cloud Services. This integration is meant to allow authors to easily deploy and configure basic search experiences with the two tools.

Unfortunately, there is an issue with the integration where AEM will cache the Stage URL for Adobe Search&Promote’s API endpoint. While you can force Adobe Search&Promote to use the Live index with the sp_staged parameter, it will still use the Stage configuration. This is a serious problem as it means that you may be using configurations that are not tested or not ready yet to be live.

Unfortunately, this is a known issue with the Adobe Search&Promote integration in AEM 6.3, but can be resolved with the following steps:

1. Open CRX DE and browse to the Cloud Service Configuration (ex: /etc/cloudservices/search-promote/[myconfig]/jcr:content)


2. Select the contents of the searchformxml attribute and copy it into a text editor
3. Replace “http://stage-” with “http://” and then copy the text back into the searchformxml attribute


4. Save your changes
5. Replicate the Cloud Service Configuration

This will update the URL used by the AEM Search&Promote Search component for retrieving search results, thus resolving the issue.


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.