Automatically Populate Key Information in Pre-Chat Form
You can automatically populate the product, category, and service request number in the pre-chat form, based on the page context in which the chat is initiated.
Here's how it works:
First, with the service request number on a service request form:
-
If you're viewing a service request with a product (or product group) already selected and you initiate a chat, then the selected product (or product group) will be auto-populated in the pre-chat form.
-
If you're viewing a service request with a category already selected and you initiate a chat, then the selected category will be auto-populated in the pre-chat form.
-
If you're viewing a service request and you initiate a chat, then the service request number will be auto-populated in the pre-chat form.
Here's how fields are automatically populated on the Product Group landing page:
-
If you're viewing a product landing page and you initiate a chat, then the selected product will be auto-populated in the pre-chat form.
-
If you click through to a knowledge article from a product landing page, then the selected product will be auto-populated in the pre-chat form.
Now, the Product Group landing page:
-
If you're viewing a product group landing page and you initiate a chat, then the selected product group will be auto-populated in the pre-chat form.
The Category Landing page:
-
If you're viewing a category landing page and you initiate a chat, then the selected category will be auto-populated in the pre-chat form.
-
If you click through to a knowledge article from a category landing page, then the selected category will be auto-populated in the pre-chat form.
And finally, here's the behavior with Knowledge search results:
-
If you have done a knowledge search and selected a product from the product selector and you initiate a chat from the search results list or from a knowledge details page (from the search results), then the selected product will be auto-populated in the pre-chat form.
-
If you have done a knowledge search and selected a category from the category selector and you initiate a chat from the search results list or from a knowledge details page (from the search results), then the selected category will be auto-populated in the pre-chat form.
The Chat component doesn't display the category, product or service request by default, so you must enable them by doing the following:
-
Open your Digital Customer Service application in Oracle Visual Builder.
-
Navigate to Web Applications, dcs, and expand Root Pages, and then click shell.
-
Click shell, and then click the Page Structure icon.
-
In the Page Structure list, search for Chat.
-
Click Chat to display the property inspector.
-
Within the chat attributes, locate the category property, and click the arrow to display the sub-category.
-
Change the category.show sub-category value to true.
-
Click the category arrow to close the sub-category.
-
In the property inspector, locate the product property in the Chat attributes, and click the arrow to display the sub-category.
-
Change the product.show sub-category value to true, then click the product property arrow to close to sub-category.
-
Now locate the service-request property in the Chat attributes property inspector and click the arrow to expand the sub-category.
-
Change the service-request.show sub-category value to true