06-01-2017 04:35 PM - edited 03-14-2019 05:20 PM
UCCX: 11.5
SM: 11.5
I have two chat forms that point to exact same CSQs and with same fields.
Is there a way to distinguish between the two from agent's perspective. I thought of using different fields like A_Name or B_Name, but if someone doesn't enter anything it just says customer and allows a chat session.
Solved! Go to Solution.
06-16-2017 12:15 PM
Weird. Ok, try this. Add one more form item to each of them, call it "portal". Now, by default, the form element will show up as a text entry field on the web page, because the default HTML will look like this:
<input type="text" name="extensionField_Portal" />
You'll want to hide it from the user, as well as manually enter the value, which will be different on each of the different portal sites. To say that again, you will be filling in this form field manually, with static content, which will be submitted to the Agent, just like the other fields, such as "Name", "Email", "Phone" etc that you have in your form today.
<input type="hidden" name="extensionField_Portal" value="Public">
06-08-2017 07:19 AM
I don't believe there is an out of the box solution for this. Why would you have two chat forms, which are identical, going to the same CSQ? Maybe there's another solution in here somewhere, we just have to find it.
06-09-2017 07:24 PM
One's through a secure portal and one's through open public. Their purpose is exactly the same. I wanted to see if there was a way around it, without changing the CSQs, as that'd would've required them to change the web forms on the portal. But if there isn't any other way, then that's what I'm gonna do.
Thanks.
06-12-2017 11:17 AM
I still don't understand why you have two different forms. Why not just use the same form on both private and public facing pages?
06-15-2017 10:25 AM
That's what I asked, but they wanted to keep them separate due to some internal security reason and also for agents to know where the chat is coming from (for whatever quality and treatment purpose). Guessing the "Agents to know" portion was never discussed, as I wasn't involved in the initial planning or setup phase.
If we setup the same form on both public and private site, it's gonna be the same issue all over again, as the agents won't know where the chat is being initiated from.
06-16-2017 12:15 PM
Weird. Ok, try this. Add one more form item to each of them, call it "portal". Now, by default, the form element will show up as a text entry field on the web page, because the default HTML will look like this:
<input type="text" name="extensionField_Portal" />
You'll want to hide it from the user, as well as manually enter the value, which will be different on each of the different portal sites. To say that again, you will be filling in this form field manually, with static content, which will be submitted to the Agent, just like the other fields, such as "Name", "Email", "Phone" etc that you have in your form today.
<input type="hidden" name="extensionField_Portal" value="Public">
07-02-2017 04:52 PM
Thanks Anthony!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide