Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Is there a way to dynamically enable/disable the service desk widget?

Jason Burrows April 6, 2018

We want to show the Service Desk Widget only in specific circumstances.

I've tried loading it dynamically (just by appending the script to the document body) but it doesn't execute (even though the resulting script in the HTML is identical to if I added it to the static index.html).

I imagine this is because it uses document.write, which is not available when the script is executed when added dynamically.

Is there any way around this?  Can I load it in the static HTML and then disable it somehow until I want it to be shown?  Any chance the dependency on document.write will be removed (since usually that is not a real requirement)?

1 answer

0 votes
carlos muñoz August 19, 2019

Have you figured out any way to embed JSD Widget out from índex.html? I'd appreciate it. I have the same issue. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events