Forums

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

Start Widget in Open Configuration?

Tom Herman
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!
May 31, 2020

Is it possible to embed the widget on a support page on our website in it's open state instead of initially just as a question mark Icon?  We would love to embed the support desk, but understand iFrames will not allow this currently, but apparently a  widget can be embedded, so we'd love a widget that is our FAQ list and Ticket creation (exactly the functionality currently available in the widget), but not in the form of a question mark our clients need to click to see the FAQs or form.

1 answer

1 accepted

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

Hello Tom,

Welcome to Atlassian Community!

It's possible to make the widget to open automatically when accessing a page. 

We tested here and the following code works correctly:

<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.

Regards,
Angélica

Tom Herman
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!
June 2, 2020

Thanks.  That helps a bit.  Not exactly what I was looking for, but 1/2 way there.  And probably I can figure out how to click a few more buttons... ;-)

Like Angélica Luz likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events