New answers tagged search-results
0
votes
If statement with multiple conditions in Handlebars
I resolved this using the following:
{{#if @root.properties.layoutProperties.showFileIcon}}
{{#contains 'String1' (slot item @root.slots.Summary)}}
<pnp-iconfile class="template--...
- 101
0
votes
Accepted
Changing filetype icon in Search results
This is now working. I changed the default template to the following:
{{#if @root.properties.layoutProperties.showFileIcon}}
{{#contains 'String1' (slot item @root.slots.Summary)}}
<pnp-...
- 101
Top 50 recent answers are included
Related Tags
search-results × 1385search × 623
2013 × 290
sharepoint-online × 223
sharepoint-enterprise × 177
enterprise-search × 146
display-template × 96
sharepoint-server × 93
2010 × 84
sharepoint-search × 68
people-search × 65
search-scope × 64
managed-property × 48
web-part × 47
document-library × 39
content-search-web-part × 35
sharepoint-foundation × 34
query × 34
refiner × 34
refinement-panel × 30
result-source × 30
2016 × 27
crawling × 27
javascript × 22
xslt × 21