Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Widget not embedding

Gerardo Benedetto
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 15, 2020

When adding the widget code to our internal site and another test site, the widget was not displayed. It did only display the 'Contact' button but nothing else. 

 

Any idea why this might be happening?

1 answer

0 votes
Angélica Luz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 16, 2020

Hello Gerardo,

Welcome to Atlassian Community!

When using the widget, it will show only the button and customers will have to click on it to show the text box. When they search for something, it will appear the request types for them to create tickets.

Screen Recording 2020-10-15 at 09.57.00 AM.gif

Can you please let us know if it shows anything when clicking on it?

Is it showing any error on the widget's page when you enable or save it?

Regards,
Angélica

Gerardo Benedetto
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 17, 2020

Hi Angélica,

 

Thanks for your reply. I was able to add the widget, however, I am now wondering if it's possible to change the behavior so the help desk widget is open all the time instead of clicking on the button to open it.

 

Thanks.

Angélica Luz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 19, 2020

Thank you for the details, Gerardo.

There is a workaround to make the widget open automatically.

<script add your widget script here </script>

<script type="text/javascript">

setTimeout(()=>{

//gets the iframe on which the widget is embedded

let iframe = document.querySelector('#jsd-widget');

//gets the content of the iframe

let iframeContent = iframe.contentDocument;

//gets button which opens the widget

button = iframeContent.querySelector('#help-button');

button.click();

}, 1000)

</script>

Please, give it a try and let us know how it goes.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events