Forums

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

How to customize Plugin Properties dialog for both Confluence for Server and for Cloud?

CelesteCS
Contributor
April 3, 2018

Hello,

A plug-in has a set of parameters in Plugin Properties dialog. Depending of a parameter value some additional elements should be shown.

How such behavior can be accomplished for both Confluence for Server and Cloud?

Thanks!

1 answer

1 vote
Minh Tran
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 4, 2018

@CelesteCS The way to create plugins for Cloud and Server are totally different in these days.

So I don't think there is a common way to do that kind of task for both Confluence Server and Cloud

Here are some useful links i hope it helps you for Confluence Server plugin development:

https://developer.atlassian.com/server/confluence/extending-the-macro-property-panel/

https://developer.atlassian.com/server/confluence/adding-a-configuration-ui-for-your-plugin/

 

For confluence cloud, you could check it out https://developer.atlassian.com/server/confluence/adding-a-configuration-ui-for-your-plugin/

CelesteCS
Contributor
April 5, 2018

Hi Minh,

This documentation describes mostly standard cases, but customization is not a common case.

Anyways, thanks!

Minh Tran
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 5, 2018

@CelesteCS if you can describe your case clearer with screenshots, i think i can lead you better resources

CelesteCS
Contributor
April 6, 2018

Hi Minh,

I would start from the simplest example:

  1. There is Param1, which is of type enum. So it is shown as a combo-box in the Plugin properties dialog. It has three values, for example: Task1, Task2, Task3
  2. When one selects a specific Param1 value, there should appear another combo-box, based on this value:
    1. If you select Task1, the Param2_1 is shown, which is also a enum, so combo-box with SubTask1_1, SubTask1_2 and SubTask1_3 is shown. If you select
    2. If you select Task2, the Param2_2 is shown, with variants SubTask2_1, SubTask2_2 and SubTask2_3
    3. If you select Task3, the Param2_3 is shown, with variants SubTask3_1, SubTask3_2, SubTask3_3 and SubTask3_4

As you see in the example, the appearance of Param2_1, Param_2 and Param_3 depends on the value of Param1 value. How I can accomplish that in plugins for Server and for Cloud?

Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events