How to use confluence macro with user Macro

sanket pathre March 10, 2014

Hi

I am new to confluence. I have created my own user macro. In which I have added carousel like functionality. I want to use contentByLabel macro in it. which will give me link of all pages with give label.

I have tried
$helper.renderConfluenceMacro("{contentbylabel:mylabelName"}");

but it is rendering as it is instead of showing all link with lable "myLabelName"

Macro Body Proccessing: Rendered, No Macrobody ( - tried)

Where am I missing.

Any help is appreciated.

Thanks Advanced.

1 answer

1 accepted

0 votes
Answer accepted
Stephen Deutsch
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.
March 10, 2014

Hi Sanket,

You need to use $action.helper.renderConfluenceMacro().

Suggest an answer

Log in or Sign up to answer