Default image URL in Adobe Search and Promote | Community
Skip to main content
kishore_polsani
Level 4
July 6, 2020
Solved

Default image URL in Adobe Search and Promote

  • July 6, 2020
  • 1 reply
  • 1564 views

Hi,

 

After indexing product metadata in Adobe Search and Promote, I noticed few image URLs are broken in Reports-> Data view. Is there are way in S&P to update the broken image URLs to default image URL after indexing is done?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by vishakhav2

Hi @kishore_polsani ,

Check if default image path is mapped in the presentation template under results tag and remap it to the correct path

 

There are two ways to hardcode the results,

1. In index connector, where you can actually hardcode the results.(Settings-->Crawling-->Index Connector) . Basically the xml to which you map.

2. When you are retrieving the results from SNP, if imageURL is null then provide some default url in the code or from the models.

 

1 reply

vishakhav2Accepted solution
Level 2
July 7, 2020

Hi @kishore_polsani ,

Check if default image path is mapped in the presentation template under results tag and remap it to the correct path

 

There are two ways to hardcode the results,

1. In index connector, where you can actually hardcode the results.(Settings-->Crawling-->Index Connector) . Basically the xml to which you map.

2. When you are retrieving the results from SNP, if imageURL is null then provide some default url in the code or from the models.

 
kishore_polsani
Level 4
July 8, 2020

I have below tag in presentation template. How can we add the default path here, and this default path should be added only if actual image URL is broken.

 

<field name="imageUrl"><![CDATA[<guided-result-field gsname="imageUrl" />]]></field>