# \#macrobrowser

**URL:** https://community.developer.atlassian.com/tag/macrobrowser/154.md

[Latest](https://community.developer.atlassian.com/latest.md) · [Categories](https://community.developer.atlassian.com/categories.md) · [Tags](https://community.developer.atlassian.com/tags.md)

---

## [Documentation for AJS.MacroBrowser.setMacroJsOverride](https://community.developer.atlassian.com/t/documentation-for-ajs-macrobrowser-setmacrojsoverride/49746)

<div class="topic-metadata">

**Author:** [@ChongJingHong](https://community.developer.atlassian.com/u/ChongJingHong)\
**Replies:** 4\
**Last updated:** [August 7, 2024, 2:28am UTC](https://community.developer.atlassian.com/t/documentation-for-ajs-macrobrowser-setmacrojsoverride/49746 "2024-08-07T02:28:23Z")

</div>

Is there a documentation for AJS.MacroBrowser.setMacroJsOverride? I want to create a custom dialog for my macro plugin.

---

## [Custom macro dialog in confluence in editor context | Override MacroBrowser](https://community.developer.atlassian.com/t/custom-macro-dialog-in-confluence-in-editor-context-override-macrobrowser/26677)

<div class="topic-metadata">

**Author:** [@farhat](https://community.developer.atlassian.com/u/farhat)\
**Replies:** 3\
**Last updated:** [October 30, 2023, 10:34am UTC](https://community.developer.atlassian.com/t/custom-macro-dialog-in-confluence-in-editor-context-override-macrobrowser/26677 "2023-10-30T10:34:26Z")

</div>

I’m new to Confluence dev, and I’m trying to create a macro such that I need to show custom UI on editor context instead of Confluence’s MacroBrowser taking some params and operating on them. I need to open a custom dia…

---

## [Macro execute() method- renderContext.getOutputType() always returns "display"](https://community.developer.atlassian.com/t/macro-execute-method-rendercontext-getoutputtype-always-returns-display/73585)

<div class="topic-metadata">

**Author:** [@KerenRachev1](https://community.developer.atlassian.com/u/KerenRachev1)\
**Replies:** 0\
**Last updated:** [October 8, 2023, 3:20pm UTC](https://community.developer.atlassian.com/t/macro-execute-method-rendercontext-getoutputtype-always-returns-display/73585 "2023-10-08T15:20:03Z")

</div>

Hi everyone, I am currently developing a macro plugin for Jira Data-Center. I want the Macro to display the text “Hello”, but when exporting the issue to word, I want the macro to render the following text: “Hello - wo…

---

## [Confluence Macro, hide parameters in overview](https://community.developer.atlassian.com/t/confluence-macro-hide-parameters-in-overview/62461)

<div class="topic-metadata">

**Author:** [@JohnReese](https://community.developer.atlassian.com/u/JohnReese)\
**Replies:** 0\
**Last updated:** [October 11, 2022, 10:40pm UTC](https://community.developer.atlassian.com/t/confluence-macro-hide-parameters-in-overview/62461 "2022-10-11T22:40:58Z")

</div>

Hello everyone, while in edit mode of a page the macros appear like this Now, the macro that we are building doesn’t start like expected: “Macro Name | Param1 = jsonvalue…” But instead appears like “jasonvalue” Ou…

---

## [Create new auto-complete confluence macro](https://community.developer.atlassian.com/t/create-new-auto-complete-confluence-macro/57897)

<div class="topic-metadata">

**Author:** [@PuneetPurohit](https://community.developer.atlassian.com/u/PuneetPurohit)\
**Replies:** 2\
**Last updated:** [May 2, 2022, 5:16pm UTC](https://community.developer.atlassian.com/t/create-new-auto-complete-confluence-macro/57897 "2022-05-02T17:16:34Z")

</div>

Hi, I want to create a new macro which calls my application api to search and that search result should show in autocomplete(in parameter area). Attaching sample UI design for it. Can anyone guide me here.

---

## [Display custom macro inside a specific category on macro browser](https://community.developer.atlassian.com/t/display-custom-macro-inside-a-specific-category-on-macro-browser/55814)

<div class="topic-metadata">

**Author:** [@Nishantupadhyay](https://community.developer.atlassian.com/u/Nishantupadhyay)\
**Replies:** 1\
**Last updated:** [February 19, 2022, 4:20pm UTC](https://community.developer.atlassian.com/t/display-custom-macro-inside-a-specific-category-on-macro-browser/55814 "2022-02-19T16:20:37Z")

</div>

Hi Team , I have written up a custom macro . After installing the macro on confluence I can see the macro appearing under “ALL” category in macro browser window. I want my macro to appear under specific category like “U…

---

## [How to override MacroBrowser postPreview function?](https://community.developer.atlassian.com/t/how-to-override-macrobrowser-postpreview-function/49942)

<div class="topic-metadata">

**Author:** [@ChongJingHong](https://community.developer.atlassian.com/u/ChongJingHong)\
**Replies:** 7\
**Last updated:** [December 21, 2021, 7:13pm UTC](https://community.developer.atlassian.com/t/how-to-override-macrobrowser-postpreview-function/49942 "2021-12-21T19:13:47Z")

</div>

Hi all, I am currently modifying the Mermaid Macro Plugin on Confluence Server such that users can input the diagram code directly in the macro browser dialog. I’ve accomplished this part but now the preview does not sho…

---

## [MacroJsOverride gets stuck to all other macros!](https://community.developer.atlassian.com/t/macrojsoverride-gets-stuck-to-all-other-macros/52397)

<div class="topic-metadata">

**Author:** [@dokaspar](https://community.developer.atlassian.com/u/dokaspar)\
**Replies:** 0\
**Last updated:** [September 27, 2021, 10:29pm UTC](https://community.developer.atlassian.com/t/macrojsoverride-gets-stuck-to-all-other-macros/52397 "2021-09-27T22:29:24Z")

</div>

Hi We maintain a custom macro to insert some external content into Confluence pages. It works well, but I recently noticed that the HTML parameter fields of our custom plugin appears for any other macro that is subseque…

---

## [Strange macro behavior](https://community.developer.atlassian.com/t/strange-macro-behavior/50174)

<div class="topic-metadata">

**Author:** [@ChongJingHong](https://community.developer.atlassian.com/u/ChongJingHong)\
**Replies:** 1\
**Last updated:** [July 23, 2021, 3:16am UTC](https://community.developer.atlassian.com/t/strange-macro-behavior/50174 "2021-07-23T03:16:33Z")

</div>

Hi all, I’m noticing a strange behavior when using my macro on a Confluence Server. The macro browser of my macro is supposed to have a textarea that allows multiple lines of input, as such: It behaves correctly onl…

---

## [How to override MacroBrowser fields to change input to textarea?](https://community.developer.atlassian.com/t/how-to-override-macrobrowser-fields-to-change-input-to-textarea/49891)

<div class="topic-metadata">

**Author:** [@ChongJingHong](https://community.developer.atlassian.com/u/ChongJingHong)\
**Replies:** 0\
**Last updated:** [July 15, 2021, 2:48am UTC](https://community.developer.atlassian.com/t/how-to-override-macrobrowser-fields-to-change-input-to-textarea/49891 "2021-07-15T02:48:21Z")

</div>

Hi, I am trying to turn the input field of the MacroBrowser into a textarea so that I can input multiple lines for my parameter. I know I have to use AJS.MacroBrowser.setMacroJsOverride() and override the "fields" functi…

---

## [Macro attachment parameter does not retrieve the attachments in drop down](https://community.developer.atlassian.com/t/macro-attachment-parameter-does-not-retrieve-the-attachments-in-drop-down/31491)

<div class="topic-metadata">

**Author:** [@rambabu.patina](https://community.developer.atlassian.com/u/rambabu.patina)\
**Replies:** 4\
**Last updated:** [November 30, 2020, 10:40am UTC](https://community.developer.atlassian.com/t/macro-attachment-parameter-does-not-retrieve-the-attachments-in-drop-down/31491 "2020-11-30T10:40:50Z")

</div>

I was trying to implement a macro which should just display the selected attachment content from the selected page. I did changes in atlassain-connect.json and added two parameters ‘confluence-content’ type for page se…

---

## [How to use dynamic Smart Fields Attachments API in cloud](https://community.developer.atlassian.com/t/how-to-use-dynamic-smart-fields-attachments-api-in-cloud/31461)

<div class="topic-metadata">

**Author:** [@rambabu.patina](https://community.developer.atlassian.com/u/rambabu.patina)\
**Replies:** 1\
**Last updated:** [April 14, 2020, 12:06pm UTC](https://community.developer.atlassian.com/t/how-to-use-dynamic-smart-fields-attachments-api-in-cloud/31461 "2020-04-14T12:06:21Z")

</div>

How should we use the activateSmartFieldsAttachmentsOnPage in confluence cloud editor which could work similarly as in the server app? For example in server: AJS.MacroBrowser.activateSmartFieldsAttachmentsOnPage(“macro…

---

## [Autocomplete with Label within MacroBrowser (like the "content by label" macro)](https://community.developer.atlassian.com/t/autocomplete-with-label-within-macrobrowser-like-the-content-by-label-macro/27044)

<div class="topic-metadata">

**Author:** [@florian.maupas](https://community.developer.atlassian.com/u/florian.maupas)\
**Replies:** 1\
**Last updated:** [February 18, 2019, 9:24pm UTC](https://community.developer.atlassian.com/t/autocomplete-with-label-within-macrobrowser-like-the-content-by-label-macro/27044 "2019-02-18T21:24:28Z")

</div>

Hi, I have a macro that takes into parameters some label. For a proper UX experience, I would like to mimic the behavior of the “Content by label” macro with regards to the labels autocomplete and the load of the previo…

---

## [Custom Macro Dialog (MacroBrowser)](https://community.developer.atlassian.com/t/custom-macro-dialog-macrobrowser/5132)

<div class="topic-metadata">

**Author:** [@wurstwasserkatalysat](https://community.developer.atlassian.com/u/wurstwasserkatalysat)\
**Replies:** 1\
**Last updated:** [January 24, 2019, 1:59pm UTC](https://community.developer.atlassian.com/t/custom-macro-dialog-macrobrowser/5132 "2019-01-24T13:59:17Z")

</div>

Hello, I am stuck again. After days of frustrating trial and error, it seems the best to ask the community again. The problem seems quite simple but I can’t find any solution. I want to replace the default macrobrowser…

---

## [Tutorial: Hello World Macro fails](https://community.developer.atlassian.com/t/tutorial-hello-world-macro-fails/8905)

<div class="topic-metadata">

**Author:** [@mara.broeker](https://community.developer.atlassian.com/u/mara.broeker)\
**Replies:** 4\
**Last updated:** [September 19, 2017, 12:29pm UTC](https://community.developer.atlassian.com/t/tutorial-hello-world-macro-fails/8905 "2017-09-19T12:29:08Z")

</div>

I tried to create a Macro for Confluence and i do this with the Atlassian Tutorial (https://developer.atlassian.com/docs/getting-started/set-up-the-atlassian-plugin-sdk-and-build-a-pro…) The first steps were fine and i …
