-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Carousel buttons interfere with LimeSurvey #1578
Comments
Hi @FRANZKAFKA13, I'm sorry you're having trouble with Web Chat and Lime Survey. We have an active issue #1086 which is the tracking item for updating Web Chat within the portal. This would allow for v4 of Web Chat to be used with |
@FRANZKAFKA13 I want to ask more about "click on a carousel button on Web Chat carousel (suggested actions) will cause the URL to change". Which button are you talking about?
And what is the difference between old and new URL? If URL didn't change and just show up a blank page, can you go into F12 dev tools and see if you got any JavaScript errors? |
Thanks for the clarification @corinagum. Then I will keep embedding the bot without iframe. @compulim I am talking about the "carousel flipper" I don't know if you ever used LimeSurvey so I will explain a few things to make sure you understand the problem. I created a survey, which is not published yet. The chatbot is embedded in one of my 16 question pages (page 4). I have the option to preview the question or preview the whole survey. Case 1: Single question preview (the one the bot is embedded in) The preview URL is: No JS error. Case 2: Whole survey preview The preview URL is "https://MY_UNIVERSITY_PATH/limesurvey/index.php/633462". I get the error: "3633462:294 Uncaught SyntaxError: Identifier 'styleOptions' has already been declared I once got a notification from LimeSurvey that said "Please don't use your browser navigation buttons" when clicking on the carousel flipper. So it seems like LimeSurvey interprets them as some kind of navigation or refresh button. New problem |
@FRANZKAFKA13 Would you be willing to add myself and @compulim to your project so we may take a look? This will save us some repro steps and hopefully let us help you faster. Please email me at [email protected] and we will discuss in further detail. |
@corinagum Thanks for your offer, I really appreciate it. Fortunately, I solved it by embedding the chatbot in an azurewebsite and then embedding it to LimeSurvey via iframe. This solved the problems caused by LimeSurvey (e.g. carousel flippers interacting with LS) and still allowed me to do all the customizations offered by your client. Can be closed! |
Hello,
I am trying to embed my Chatbot with this client into a LimeSurvey survey. Unfortunately, when I click on a carousel button (e.g. for suggested actions or a card carousel), the survey jumps back to the first page (the URL changes), which makes them impossible to use in the survey. When embedding the bot with the "standard webchat" approach (embed code on channel configuration page in the Azure portal), the buttons work fine. The problem is, that I really need some of the features you implemented (e.g. avatar and initials). Do you think an iframe could solve this issue? Is there a way to combine iframe with this approach of embedding while still being able to use features like redux actions? (see: #1557)
The communication between the LimeSurvey website and my Chatbot is essential while the carousels are just a "nice to have" feature which make it much easier for the user to use the bot. Is there a solution that covers both?
Thank you very much in advance! This is my current code:
The text was updated successfully, but these errors were encountered: