Recent searches
No recent searches
Filter not working for answer bot
Answered
Posted Jul 08, 2021
I am trying to limit the scope of articles suggested by the answer bot by following the instructions here https://support.zendesk.com/hc/en-us/articles/229167008#topic_usl_bbq_mx
Unfortunately this does not work:
<script type="text/JavaScript">
window.zESettings = {
webWidget: {
helpCenter: {
filter: {
label_names: 'my-label'
}
}
}
};
</script>
I even tried changing helpCenter to answerBot but that didn't make a difference.
<script type="text/JavaScript">
window.zESettings = {
webWidget: {
answerBot: {
filter: {
label_names: 'my-label'
}
}
}
};
</script>
0
1
1 comment
Blanca
Hi Lorenzo,
Thank you for reaching out. Concerning the correct code, please see below for your reference:
window.zESettings = {
webWidget: {
answerBot: {
search: {
labels: ['my-label']
}
}
}
};
For your guidance, please refer to Developers Documentation.
Cheers,
Blanca | Customer Advocate
Chat with our live support!
https://support.zendesk.com/hc/en-us
0