question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Code not working in Sharepoint Online and IE 11

See original GitHub issue

Hello,

So i have deployed custom webchat following this documentation here

Here’s the code:

<!DOCTYPE html>
<html>
<head>        
    <script src="https://cdn.botframework.com/botframework-webchat/master/webchat.js"></script>
    <style>
      html, body { height: 100% }
      body { margin: 0 }

      #webchat {
        height: 100%;
        width: 100%;
      }
    </style>
  </head>
  <body>
    <div id="webchat" role="main"></div>
    <script>

      window.WebChat.renderWebChat({
          directLine: window.WebChat.createDirectLine({ token: 'Token goes here' }),
          styleOptions: {
            hideUploadButton: true,
            bubbleBackground: 'rgba(0, 0, 255, .1)',
          	bubbleFromUserBackground: 'rgba(0, 255, 0, .1)',
          	
          	botAvatarInitials: 'FB',
          	userAvatarInitials: 'YOU',
          	userAvatarImage: ''          
          }
        }, document.getElementById('webchat'));
    </script>
  </body>
</html>

I don’t know if there is something missing here or what

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:16 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
jwiley84commented, Mar 21, 2019

Hey @Rykimaruh!!

Can you post a screenshot of the error in your console?

1reaction
Rykimaruhcommented, Mar 23, 2019

Weird, I will investigate and try this out

Read more comments on GitHub >

github_iconTop Results From Across the Web

Code not working in Sharepoint Online and IE 11 · Issue #1824
Hello, So i have deployed custom webchat following this documentation here Here's the code:
Read more >
SharePoint Online Site not working in IE (Internet Explorer) / IE ...
Hi,. SharePoint online site is used to work in Internet Explorer browser via Citrix earlier/ IE Mode in Edge. But, now getting error...
Read more >
Prepare your SharePoint environment for the retirement of ...
Prepare your SharePoint and OneDrive environment for when Microsoft 365 apps and services stop supporting Internet Explorer 11.
Read more >
SharePoint online Hero Web part not working in IE 11
1. Open IE. · 2. Click the Tools button, and then click Internet options. · 3. Click the Security tab. · 4. Now...
Read more >
Can not login to Sharepoint online using IE 11
Sharepoint doesn't like IE11? Try using the Developer Tools Emulation tab to make it think that you are using some other browser. Alternatively ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found