# \#macro

**URL:** https://forum.xwiki.org/tag/macro/38.md

[Latest](https://forum.xwiki.org/latest.md) · [Categories](https://forum.xwiki.org/categories.md) · [Tags](https://forum.xwiki.org/tags.md)

---

## [Parameter description does not show bold text](https://forum.xwiki.org/t/parameter-description-does-not-show-bold-text/19105)

<div class="topic-metadata">

**Author:** [@HamsterNL](https://forum.xwiki.org/u/HamsterNL)\
**Replies:** 3\
**Last updated:** [November 13, 2026, 12:14pm UTC](https://forum.xwiki.org/t/parameter-description-does-not-show-bold-text/19105 "2026-11-13T12:14:10Z")

</div>

I have a WikiMacroParameterClass where I have made part of a text bold in the parameter description: Sadly this is being displayed as this: The bold tekst is being put inbetween \*\* Is there any way to display thi…

---

## [Brainstorming: Usability criteria for auditing macros in the WYSIWYG editor](https://forum.xwiki.org/t/brainstorming-usability-criteria-for-auditing-macros-in-the-wysiwyg-editor/18907)

<div class="topic-metadata">

**Author:** [@CharpentierLucas](https://forum.xwiki.org/u/CharpentierLucas)\
**Replies:** 22\
**Last updated:** [October 13, 2026, 9:01am UTC](https://forum.xwiki.org/t/brainstorming-usability-criteria-for-auditing-macros-in-the-wysiwyg-editor/18907 "2026-10-13T09:01:59Z")

</div>

Hello! Context As part of the WYSIWYG usability of XWiki macros proposal, I’m going to audit the macros of XWiki Standard for how easy they are to insert and configure from the WYSIWYG editor. The main goal is macro flu…

---

## [Best practices for customizing XWiki (skins, macros, scripts, applications) - without breaking future upgrades](https://forum.xwiki.org/t/best-practices-for-customizing-xwiki-skins-macros-scripts-applications-without-breaking-future-upgrades/18310)

<div class="topic-metadata">

**Author:** [@flo](https://forum.xwiki.org/u/flo)\
**Replies:** 3\
**Last updated:** [March 17, 2026, 8:17am UTC](https://forum.xwiki.org/t/best-practices-for-customizing-xwiki-skins-macros-scripts-applications-without-breaking-future-upgrades/18310 "2026-03-17T08:17:11Z")

</div>

Hello, I’m currently learning how to customize XWiki to adapt it to my company’s needs, and I’d like to make sure that I’m following the recommended best practices, especially so that my modifications remain easy to mai…

---

## [MacroTransformationContext class missing when following ExtendingMacro documentation](https://forum.xwiki.org/t/macrotransformationcontext-class-missing-when-following-extendingmacro-documentation/18075)

<div class="topic-metadata">

**Author:** [@Shekel](https://forum.xwiki.org/u/Shekel)\
**Replies:** 1\
**Last updated:** [January 2, 2026, 11:29am UTC](https://forum.xwiki.org/t/macrotransformationcontext-class-missing-when-following-extendingmacro-documentation/18075 "2026-01-02T11:29:52Z")

</div>

Hello, I’m trying to implement a custom rendering macro following the official documentation: https://rendering.xwiki.org/xwiki/bin/view/Main/ExtendingMacro According to the documentation, the macro implementation sho…

---

## [Spaces in notification macro not working (17.9)](https://forum.xwiki.org/t/spaces-in-notification-macro-not-working-17-9/17920)

<div class="topic-metadata">

**Author:** [@BeTonHan](https://forum.xwiki.org/u/BeTonHan)\
**Replies:** 5\
**Last updated:** [December 4, 2025, 7:55pm UTC](https://forum.xwiki.org/t/spaces-in-notification-macro-not-working-17-9/17920 "2025-12-04T19:55:49Z")

</div>

Hi there, I updated to the new XWiki 17.9 version. The activity macro crashed, so I switched to notifications as recommended. However, the spaces-restriction does not work at all. Here is my code: {{notifications space…

---

## [Standalone/Inline context of content changes when including content](https://forum.xwiki.org/t/standalone-inline-context-of-content-changes-when-including-content/17897)

<div class="topic-metadata">

**Author:** [@grimmksg](https://forum.xwiki.org/u/grimmksg)\
**Replies:** 1\
**Last updated:** [November 26, 2025, 2:51pm UTC](https://forum.xwiki.org/t/standalone-inline-context-of-content-changes-when-including-content/17897 "2025-11-26T14:51:16Z")

</div>

Hello everyone. I am trying to understand the following scenario in our XWiki 17.6.0 environment. :information\_source: Please note that I simplified the macro implementation to a minimal working sample. Macros I have …

---

## [Context macro without authorization check?](https://forum.xwiki.org/t/context-macro-without-authorization-check/17847)

<div class="topic-metadata">

**Author:** [@hiesscher](https://forum.xwiki.org/u/hiesscher)\
**Replies:** 3\
**Last updated:** [October 29, 2025, 9:02am UTC](https://forum.xwiki.org/t/context-macro-without-authorization-check/17847 "2025-10-29T09:02:20Z")

</div>

Hallo everyone! I try to include content of a page into another one. The content have to be rendered in context of the sourcepage because of relative references of the content. I testing with the display macro an the c…

---

## [Refresh TOC in sidebar panel on WYSIWYG save?](https://forum.xwiki.org/t/refresh-toc-in-sidebar-panel-on-wysiwyg-save/12841)

<div class="topic-metadata">

**Author:** [@metawiki](https://forum.xwiki.org/u/metawiki)\
**Replies:** 4\
**Last updated:** [October 24, 2025, 6:29pm UTC](https://forum.xwiki.org/t/refresh-toc-in-sidebar-panel-on-wysiwyg-save/12841 "2025-10-24T18:29:30Z")

</div>

Hello everybody! To save some space and some hassle with PDF exports, I decided to put a Table of Contents macro into the sidebar as described in this posting. This works quite nice, aside from the fact that the TOC do…

---

## [Problem with selfmade macro: CKEditor adds handle.png after it](https://forum.xwiki.org/t/problem-with-selfmade-macro-ckeditor-adds-handle-png-after-it/17659)

<div class="topic-metadata">

**Author:** [@hrapitan](https://forum.xwiki.org/u/hrapitan)\
**Replies:** 5\
**Last updated:** [September 24, 2025, 9:07am UTC](https://forum.xwiki.org/t/problem-with-selfmade-macro-ckeditor-adds-handle-png-after-it/17659 "2025-09-24T09:07:06Z")

</div>

Hello, friends! I asking for advice and help from the community. I have developed a photo gallery macro using Cursor AI code editor. Yes, I know there is a Gallery Macro, but it does not output beautiful previews on the…

---

## [Understanding inline macro positioning](https://forum.xwiki.org/t/understanding-inline-macro-positioning/17171)

<div class="topic-metadata">

**Author:** [@grimmksg](https://forum.xwiki.org/u/grimmksg)\
**Replies:** 4\
**Last updated:** [July 7, 2025, 10:15am UTC](https://forum.xwiki.org/t/understanding-inline-macro-positioning/17171 "2025-07-07T10:15:25Z")

</div>

Dear Community, I am new to XWiki and trying to understand how macro positioning works. I understand that there are standalone and inline macros. Obviously, macros can only be used inline when their output is suitable f…

---

## [Upgrade issues with 16.10.5](https://forum.xwiki.org/t/upgrade-issues-with-16-10-5/16786)

<div class="topic-metadata">

**Author:** [@Shekel](https://forum.xwiki.org/u/Shekel)\
**Replies:** 3\
**Last updated:** [April 1, 2025, 11:59am UTC](https://forum.xwiki.org/t/upgrade-issues-with-16-10-5/16786 "2025-04-01T11:59:50Z")

</div>

Today, I tried upgrading from version 16.10.4 to version 16.10.5 and noticed a couple of strange changes. The first issue is that when I remove my user (the one created after logging in via OIDC, not the built-in admin)…

---

## [UUID e.g. as macro-param when inserting macro](https://forum.xwiki.org/t/uuid-e-g-as-macro-param-when-inserting-macro/16386)

<div class="topic-metadata">

**Author:** [@Wiking](https://forum.xwiki.org/u/Wiking)\
**Replies:** 2\
**Last updated:** [February 4, 2025, 7:39am UTC](https://forum.xwiki.org/t/uuid-e-g-as-macro-param-when-inserting-macro/16386 "2025-02-04T07:39:14Z")

</div>

Is there a way to set a UUID as the default value of a macro parameter? What I would like to achieve is that a UUID is generated which can then also be addressed as a DOM ID using Javascript and for this UUID I can use …

---

## [Issue with Box Macro Rendering After Upgrade from 15.10.5 to 16.10.2](https://forum.xwiki.org/t/issue-with-box-macro-rendering-after-upgrade-from-15-10-5-to-16-10-2/16334)

<div class="topic-metadata">

**Author:** [@Shekel](https://forum.xwiki.org/u/Shekel)\
**Replies:** 3\
**Last updated:** [January 29, 2025, 9:19am UTC](https://forum.xwiki.org/t/issue-with-box-macro-rendering-after-upgrade-from-15-10-5-to-16-10-2/16334 "2025-01-29T09:19:14Z")

</div>

Hello, I am encountering an issue after upgrading from version 15.10.5 to 16.10.2. The Box macro is not rendering correctly. In edit mode, everything displays as expected, but after saving, it starts turning rows into c…

---

## [Macro $xcontext.action wrong stats in inline edit mode](https://forum.xwiki.org/t/macro-xcontext-action-wrong-stats-in-inline-edit-mode/14706)

<div class="topic-metadata">

**Author:** [@dabde](https://forum.xwiki.org/u/dabde)\
**Replies:** 2\
**Last updated:** [October 29, 2024, 1:48pm UTC](https://forum.xwiki.org/t/macro-xcontext-action-wrong-stats-in-inline-edit-mode/14706 "2024-10-29T13:48:19Z")

</div>

Hi, I want to write a macro, show different context between edit and view mode. In view mode I have HTML to display. If I use the macro just with the normal fullpage editor, everything works fine. But when a user press …

---

## [Attachment Selector - doesn't work](https://forum.xwiki.org/t/attachment-selector-doesnt-work/15795)

<div class="topic-metadata">

**Author:** [@georgiys](https://forum.xwiki.org/u/georgiys)\
**Replies:** 0\
**Last updated:** [October 23, 2024, 11:23am UTC](https://forum.xwiki.org/t/attachment-selector-doesnt-work/15795 "2024-10-23T11:23:36Z")

</div>

Hello, I wanted to create a list of attachments on a specific page, so the user is shown this list without the need to click on “attachments” tab at the bottom of the page (which is also limited to 5 entries by default)…

---

## [How do I include CSS in a XWiki rendering Macro written in Java?](https://forum.xwiki.org/t/how-do-i-include-css-in-a-xwiki-rendering-macro-written-in-java/15708)

<div class="topic-metadata">

**Author:** [@natasha](https://forum.xwiki.org/u/natasha)\
**Replies:** 2\
**Last updated:** [October 15, 2024, 8:14am UTC](https://forum.xwiki.org/t/how-do-i-include-css-in-a-xwiki-rendering-macro-written-in-java/15708 "2024-10-15T08:14:42Z")

</div>

How can I include CSS in a XWiki rendering Macro written in Java (XWiki-Version: 16.8.0)? It seems that a while ago “SkinExtension” was used for somthing like this, but that does not seem to be the right option nowadays.…

---

## [Error message with PDF viewer](https://forum.xwiki.org/t/error-message-with-pdf-viewer/14287)

<div class="topic-metadata">

**Author:** [@Levans](https://forum.xwiki.org/u/Levans)\
**Replies:** 3\
**Last updated:** [May 24, 2024, 10:36am UTC](https://forum.xwiki.org/t/error-message-with-pdf-viewer/14287 "2024-05-24T10:36:39Z")

</div>

Hi everyone! Apologies if this is not the place for this question but here goes…! We’d like to use the community contributed (free) PDF Viewer option from the macros list but were informed that some non-admin users are…

---

## [Difference between Display and Include Macro](https://forum.xwiki.org/t/difference-between-display-and-include-macro/14277)

<div class="topic-metadata">

**Author:** [@Elias](https://forum.xwiki.org/u/Elias)\
**Replies:** 1\
**Last updated:** [March 20, 2024, 7:40am UTC](https://forum.xwiki.org/t/difference-between-display-and-include-macro/14277 "2024-03-20T07:40:01Z")

</div>

Hello, this may very well be a stupid question that could be searched with a specific google-search, but I myself cannot find anything that clearly explains the difference between the Include and the Display Macro, or r…

---

## [Document Tree Macro Limit](https://forum.xwiki.org/t/document-tree-macro-limit/14233)

<div class="topic-metadata">

**Author:** [@Elias](https://forum.xwiki.org/u/Elias)\
**Replies:** 2\
**Last updated:** [March 14, 2024, 3:09pm UTC](https://forum.xwiki.org/t/document-tree-macro-limit/14233 "2024-03-14T15:09:34Z")

</div>

Hello, I’ve been recently experimenting with the Document Tree Macro (which is used in the Navigation Panel) for a bit, and was trying to fix the issue with having to constantly click the “more…”-thingy as a result of t…

---

## [Problem with sa-views-tracker](https://forum.xwiki.org/t/problem-with-sa-views-tracker/14201)

<div class="topic-metadata">

**Author:** [@Shekel](https://forum.xwiki.org/u/Shekel)\
**Replies:** 5\
**Last updated:** [March 12, 2024, 7:24pm UTC](https://forum.xwiki.org/t/problem-with-sa-views-tracker/14201 "2024-03-12T19:24:42Z")

</div>

Hello. I’m planning to switch from Confluence to XWiki. I’ve migrated all the spaces and am testing the Pro Macros 1.15.1 app, but I have a lot of pages where I get notifications: The \[sa-views-tracker-stats\] macro is …

---

## [Kanban macro sample snippet issue](https://forum.xwiki.org/t/kanban-macro-sample-snippet-issue/14081)

<div class="topic-metadata">

**Author:** [@Ricardo\_Rodriguez](https://forum.xwiki.org/u/Ricardo_Rodriguez)\
**Replies:** 2\
**Last updated:** [March 2, 2024, 4:41pm UTC](https://forum.xwiki.org/t/kanban-macro-sample-snippet-issue/14081 "2024-03-02T16:41:44Z")

</div>

Hi! I discovered this excellent macro following the forum and found several related topics. Kanban macro issue was solved, but I’m now getting an error when using the Kanban from JSON example snippet. It works if I remov…

---

## [Can a macro know, if it is invoked from a PDF export?](https://forum.xwiki.org/t/can-a-macro-know-if-it-is-invoked-from-a-pdf-export/13732)

<div class="topic-metadata">

**Author:** [@hengels](https://forum.xwiki.org/u/hengels)\
**Replies:** 14\
**Last updated:** [February 7, 2024, 1:12pm UTC](https://forum.xwiki.org/t/can-a-macro-know-if-it-is-invoked-from-a-pdf-export/13732 "2024-02-07T13:12:59Z")

</div>

Hi all … I have a macro that should render structurally different for pdf exports. I could write some flag somewhere in the metadata script of the pdf template, that is executed for every exported script. I tried to wr…

---

## [XWiki Version-Macro](https://forum.xwiki.org/t/xwiki-version-macro/13366)

<div class="topic-metadata">

**Author:** [@Wiking](https://forum.xwiki.org/u/Wiking)\
**Replies:** 1\
**Last updated:** [January 11, 2024, 9:37am UTC](https://forum.xwiki.org/t/xwiki-version-macro/13366 "2024-01-11T09:37:43Z")

</div>

The Version Macro (https://www.xwiki.org/xwiki/bin/view/Macros/VersionMacro) seems to be a quite handy one and does fullfill our needs of documenting some of our products. Could you please provide this macro for the comm…

---

## [Macro that creates form for remote ajax query (how to implement)](https://forum.xwiki.org/t/macro-that-creates-form-for-remote-ajax-query-how-to-implement/13604)

<div class="topic-metadata">

**Author:** [@svollmar](https://forum.xwiki.org/u/svollmar)\
**Replies:** 1\
**Last updated:** [December 12, 2023, 2:10pm UTC](https://forum.xwiki.org/t/macro-that-creates-form-for-remote-ajax-query-how-to-implement/13604 "2023-12-12T14:10:15Z")

</div>

We have successfully used \[1\] to create an XWiki page with a form. We have a slightly different use case: we would like to have a macro that yields a field (?) which queries one of our (remote) db servers via ajax for an…

---

## [Possible to use multi value macro parameters?](https://forum.xwiki.org/t/possible-to-use-multi-value-macro-parameters/13647)

<div class="topic-metadata">

**Author:** [@lanedsmu](https://forum.xwiki.org/u/lanedsmu)\
**Replies:** 1\
**Last updated:** [December 7, 2023, 10:23am UTC](https://forum.xwiki.org/t/possible-to-use-multi-value-macro-parameters/13647 "2023-12-07T10:23:40Z")

</div>

I’m trying to improve the Show Children by Tag macro by allowing for entering multiple tags as a paramater. Is it possible to enable multiple entries in a macro parameter? If so, I believe something like the below migh…

---

## [Retrieving content from non-registered macros](https://forum.xwiki.org/t/retrieving-content-from-non-registered-macros/13158)

<div class="topic-metadata">

**Author:** [@Dante](https://forum.xwiki.org/u/Dante)\
**Replies:** 0\
**Last updated:** [September 22, 2023, 9:53am UTC](https://forum.xwiki.org/t/retrieving-content-from-non-registered-macros/13158 "2023-09-22T09:53:33Z")

</div>

Hi everyone, after migrating to Xwiki from Confluence and using Pro Macros, there still is a macro that doesnt get converted. The Confluence macro is a simple textbox. Through using Pro MAcros I realized that the infor…

---

## [Dublicate records in macros search](https://forum.xwiki.org/t/dublicate-records-in-macros-search/12164)

<div class="topic-metadata">

**Author:** [@George](https://forum.xwiki.org/u/George)\
**Replies:** 2\
**Last updated:** [May 31, 2023, 4:15pm UTC](https://forum.xwiki.org/t/dublicate-records-in-macros-search/12164 "2023-05-31T16:15:41Z")

</div>

Hello! I have installed custom macro on loacal version of xwiki and after installation (plase jar file in webapps\\xwiki\\WEB-INF\\lib) a have two records in serch result

---

## [Type Date not working with wikimacro.parameters](https://forum.xwiki.org/t/type-date-not-working-with-wikimacro-parameters/12252)

<div class="topic-metadata">

**Author:** [@guihin](https://forum.xwiki.org/u/guihin)\
**Replies:** 3\
**Last updated:** [March 29, 2023, 8:03am UTC](https://forum.xwiki.org/t/type-date-not-working-with-wikimacro-parameters/12252 "2023-03-29T08:03:46Z")

</div>

I want to create a macro in velocity with a date as macro-parameter. In the object of WikiMacroParameterClass with the name “someDate” I put as parameter type “java.util.Date”. Inserting the macro in a page with WYSIWY…

---

## [Marco Will not load after restoring from old Wiki](https://forum.xwiki.org/t/marco-will-not-load-after-restoring-from-old-wiki/11961)

<div class="topic-metadata">

**Author:** [@flux](https://forum.xwiki.org/u/flux)\
**Replies:** 2\
**Last updated:** [March 23, 2023, 9:56pm UTC](https://forum.xwiki.org/t/marco-will-not-load-after-restoring-from-old-wiki/11961 "2023-03-23T21:56:20Z")

</div>

Hi there, I am having a hard time figuring out what is going on with the macros in my wiki. For some reason they will not load when trying to select them from the WYSIWYG editor. I am using the latest Debian version …

---

## [Connection Jira cloud instance fails for jira macro](https://forum.xwiki.org/t/connection-jira-cloud-instance-fails-for-jira-macro/9177)

<div class="topic-metadata">

**Author:** [@Arngrim](https://forum.xwiki.org/u/Arngrim)\
**Replies:** 11\
**Last updated:** [March 20, 2023, 7:27pm UTC](https://forum.xwiki.org/t/connection-jira-cloud-instance-fails-for-jira-macro/9177 "2023-03-20T19:27:18Z")

</div>

Hi all, I have a local xwiki installation and installed the Jira macro and the Jira Administration extensions. In the extension, I have defined the desired jira instance (cloud version). I have set id (“main”), userna…

[Next page](https://forum.xwiki.org/tag/macro/38.md?match_all_tags=true&page=1&tags%5B%5D=macro)
