
I am using Live Agent With Knowlege article.
I am using Pre Chat Form for collecting First Name, Last, Email, and Case Subject and what i want that when ever user fill up the pre chat form and submit form then in Console it will automatically search article on the basis of Case subject, So our agent can see knowledge article before responding to customer.
Without Pre Chat Form i am able to do search article by using that code:
liveagent.addCustomDetail('Case Subject', 'Truncated Category Tree').doKnowledgeSearch();
But i don't found any solution to do the same thing using Pre-Chat Form Api of live agent.
Here is detail of pre chat api : http://releasenotes.docs.salesforce.com/en-us/winter14/release-notes/rn_186_live_agent_prechat_API.htm
But there is not method for do knowledge searching.
If Any know any solution for that then please let me know.
Thanks,
Rajendra
2 réponses
Hello Rajendra,
I see that you started a case about this question and wanted to share the answer provided by the support agent to benefit others.
The support agent advised that for setting up a way to fetch the Knowledge Articles via the pre-chat form, you would need to adopt the coding within the Standard functionality. She also shared the following articles:
1. Pushing data from Pre-chat form to Live Agent console/Querying data in console using Prechat form's value/Saving values directly from Prechat form - https://help.salesforce.com/apex/HTViewSolution?urlname=Pushing-data-from-Pre-chat-form-to-Live-Agent-console-Querying-data-in-console-using-Prechat-form-s-value-Saving-values-directly-from-Prechat-form&language=en_US
2. Search Knowledge Articles as per Case Subject in Knowledge Widget of Console - https://help.salesforce.com/apex/HTViewSolution?urlname=Search-Knowledge-Articles-as-per-Case-Subject-in-Knowledge-Widget-of-Console&language=en_US
May I also suggest visiting our Developer Community (developer.salesforce.com) as some of the experts in that community might have some creative alternatives to suggest. Thank you for posting to Success Community.