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

Are there any examples/tutorials how to override the macrobrowser gui, or create your own dialog?

J D
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 25, 2014

Hello,

i´m searching for a working simple tutorial for overriding / creating my own macrobrowser dialog.

I want to "simple" things, A nav menü in the right for searching, and on the right a place to display searchresults where you can pick on item.

 

What i have found toll know about

AJS.MacroBrowser.setMacroJsOvveride('my-macro', {opener: ownDialog});

wasn´t helping me, didnt work or i didnt understand it.

 

regards

J.D

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Adrien Ragot 2
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 27, 2014

There's my answer there: https://answers.atlassian.com/questions/9372279/answers/9384190

... but it seems you still encounter issues? If so, please describe your problem, what errors you see and what you've tried.

J D
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 27, 2014

I made it, used the macro key instead of the name and the tinymce.confluence.macrobrowser.macroBrowserComplete({name: "my-macro", "bodyHtml": undefined, "params": {}}); was missing Thank you very much :) Best Regards.

J D
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 27, 2014

Next Step for : Insert usable params to the browser.

J D
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.
December 1, 2014

@Adrien Ragot [Atlassian] can you tell me how to insert params to it? regards

J D
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.
December 1, 2014

It want to "rebuilt" the jira plugins look for our own use

0 votes
Nicholas November 26, 2014

@Xavier Arques mentioned this link in a similar thread posted a while back:

https://bitbucket.org/resah/confluence-macro-tutorial/wiki/Home#markdown-header-insert-with-custom-gui

 

Best regards

Nicho

TAGS
AUG Leaders

Atlassian Community Events