Question

Athora
NL
Last activity: 10 Apr 2020 9:46 EDT
How to style two different chatbots in the same application?
Hello everyone,
We have 1 functioning chatbot and are creating the second one. A business requirement is for the chatbot to use two different stylings, because it's for different brands.
It's not picking up our changes, what we've done is:
- Create another version of the CSS 'webwb WebChatCustomization', with a brand specific name,
- Create another version of the ConfirmBody section to call that CSS, with a brand specific name,
- Create a new section to contain the new and old ConfirmBody section,
- Edit the harness to call the new container section.
Now what's going wrong is that we put a condition on the container section to either show the old one or the new one, but it's not picking it up. In the expression we tried using pyBotID and pyBotLabel. I can select the properties, but it's not working with the expression.
We changed both sections to always visible and then it tries to fit both sections in the bot, so it is finding our new container section and using it. It just seems as if it's calling on the section before it has the BotID or BotLabel.
We seem to be out of ideas right now, does anyone have any experience with using different stylesheets in Pega for bots that are in the same application?
Thank you for reading and have a nice day,
Suzanne