Forums

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

how do I actually create a dialog in my plugin?

Jonas Weckschmied
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!
November 3, 2018

So I'm trying to create a confluence plugin. All I want it to do for now is to show a button, and when you click on that button it displays a dialog window.
So I created a web item module for the button, and I also managed to display a flag when clicking on the button. But now I want a dialog2 instead. The documentation has js and html in it. But where do I actually define the HTML content of my dialog? I've tried using a soy plugin, but that didn't work at all.

2 answers

0 votes
Santwana Sarangi {Appfire}
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 20, 2018

Hi Jonas,

 

Please refer to the documentation for implementation of the dialog2 in the atlassian plugin.

https://docs.atlassian.com/aui/7.9.9/docs/dialog2.html

The html containing section tag(mentioned in the above link), can be placed in a vm file and the corresponding javascript call can be placed in a javascript file.

Hope this helps!

 

Thanks,

Santwana

0 votes
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 13, 2018

Hello Jonas,

That is great you’re looking to create a plugin/add-on for Confluence.

While this is a general support Community, there are not as many developers that scroll through the questions here. You might be better served to create a post over in the Developer Community.

Another reference is Developer.Atlassian.com.

Regards,
Stephen Sifers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events