You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert

1045
1045
1046
1046

1047
+
1048
+
### Replace icons of documents with a specific source id
1049
+
1050
+
Some search engines apply a specific source identifier (ex: Google Cloud Search) that could be useful to have for a more in depth customization. You can retrieve this information via the `sourceUid` attribute.
1051
+
The following script uses the target `targets.SEARCH_RESULT_ICON` and the placement `placements.REPLACE` in order to replace the default icon used by documents with a specific source identifier by another mdi icon.
1052
+
1053
+
**Some notes to consider:**
1054
+
* Promoted results may have different identifier as those that weren't promoted.
1055
+
* Search history interactions that were added before the customization was applied may not have the `sourceUid` field available.
1056
+
Users will have to manually remove them and/or re-select them in the search results to update the search history.
0 commit comments