How can I set specific layouts by
I followed the guidance on this online help article, and condition it to only display where raw.syssource == 'knowledge'
but the objecttype Salesforce Knowledge is still displaying the default template. I removed the default template and now now Knowledge articles are displaying. What do I need to do?
I'm having this issue for Chatter Question and Answers as well, where raw.objecttype =='Question'
Is the name of your source really 'knowledge'? Try:
- In the search interface, hold the Alt key and double click a search result from your knowledge source.
- In the debug screen that appears, look for the syssource field value.
- Back in your condition use the same value.
If you want all sources of a given type to use the same template, rather use:
raw.sysconnectortype == 'ACrawlerType'
The order in which the templates appear is also important. The first one of the list with a matching condition will be applied.