Adobe

Quick Fix: AEM + Search&Promote Integration Uses Stage

Stage

Adobe Search&Promote is a powerful SaaS search offering within the Adobe Marketing Cloud. Adobe offers an 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 which are not tested or not ready yet to be live. 

The Digital Essentials, Part 3
The Digital Essentials, Part 3

Developing a robust digital strategy is both a challenge and an opportunity. Part 3 of the Digital Essentials series explores five of the essential technology-driven experiences customers expect, which you may be missing or not fully utilizing.

Get the Guide

 

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) 

    Open the Search&Promote Cloud Service in CRXDE 

  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

     

    Replace the staging URL

     

  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.

 

About the Author

Dan is a certified Adobe Digital Marketing Technologist, Architect, and Advisor, having led multiple successful digital marketing programs on the Adobe Experience Cloud. He's passionate about solving complex problems and building innovative digital marketing solutions. Dan is a PMC Member of the Apache Sling project, frequent Adobe Beta participant and committer to ACS AEM Commons, allowing a unique insight into the cutting edge of the Adobe Experience Cloud platform.

More from this Author

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Subscribe to the Weekly Blog Digest:

Sign Up