April 20, 2020
Estimated Post Reading Time ~

Search & Promote Product Feed

AEM integrates with Search&Promote and allows you to:
  1. use the eCommerce API, independently of the underlying repository structure and commerce platform.
  2. leverage the Index Connector feature of Search&Promote to provide a product feed in XML format.
  3. leverage the Remote Control feature of Search&Promote to perform on-demand or scheduled requests of the product feed
  4. feed generation for different Search&Promote accounts, configured as cloud services configurations.
You need to have a valid acount and to configure the connection to Search&Promote. You also have to verify that you are using the correct data center and make sure that the Remote server URI is configured.

Set up the Product Feed
You first have to enter a web site root and an identifier attribute. To do this:
  1. Navigate to your Search&Promote configuration.
  2. Click Edit.
  3. Click the Index Connector Feed Configuration tab.
  4. Enter the Web site root and Identifier attribute
Note:
The Web site root is the root of your eCommerce website, for example /content/geometrixx-outdoors/en.

The Identifier attribute is a JCR property that uniquely identifies the product: identifier.

Click OK.

Then you also have to edit two configurations in the Web Console before you can generate product feeds.

Configuring the Day CQ Search&Promote Products Crawler Implementation for Geometrixx
  • Navigate to http://localhost:4502/system/console/configMgr.
  • Click Day CQ Search&Promote products crawler implementation for Geometrixx.
  • Specify the Search&Promote account number that this crawler is linked to. It will be used to look up the cloud services configuration used by this crawler.
  • Click Save.
Configuring the Day CQ Search&Promote Products Feed Generator for Geometrixx
  • Navigate to http://localhost:4502/system/console/configMgr.
  • Click Day CQ Search&Promote products feed generator for Geometrixx.
  • Specify the Search&Promote account number that this generator is linked to. It will be used to look up the cloud services configuration used by this generator.
  • Click Save.
Schedule the Product Feed
To enable scheduled feed generation, you must configure a scheduler for it.
A scheduler is configured as a child configuration of your specific Search&Promote cloud services configuration.
  • Navigate to your Search&Promote configuration.
  • Click + next to Scheduler configuration.
  • Enter a Title that is recognizable to page authors, and a unique Name.
  • Click Create. A dialog opens.

Enter the Remote Control Password. It is the password you configured in your Search&Pronote account.

Note:
This is not the password to your Search&Promote account. You can find and change this password by logging into your Search&Promote account and going to Index and then to Remote control.

Check Enable schedule box.

Select a Schedule. It is the actual feed generation schedule.

Enable the On-demand indexing or not. This feature is used to manually call the Search&Promote index. If Request full products feed is checked, Search&Promote will request a full products feed. Otherwise, an incremental products feed is requested.

Note:
The on-demand indexing feature makes use of the Remote Control feature of Search&Promote. When a remote indexing is called, the indexing will not start immediately, but an indexing request will be posted to Search&Promote using the remote control feature.

Click OK.

Now that you configured everything, you can see an XML page containing all the products under the configured web site root: http://localhost:4502/etc/commerce/searchpromote/feed/full.


By aem4beginner

No comments:

Post a Comment

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