User macros are short pieces of code that perform an often-used function or add some custom formatting to a page. People can call the macro into action by adding the macro keyword to their Confluence pages. You can write a 'user macro' by adding code on a screen in the Confluence Administration Console. Notes:
|
|
To add a user macro:
-
Go to the Confluence 'Administration Console':
- Choose Browse > Confluence Admin. The 'Administrator Access' login screen will be displayed.
- Enter your password and click Confirm. You will be temporarily logged into a secure session to access the 'Administration Console'.
- Click User Macros in the left-hand panel.
- Click Create a User Macro at the top of the list of macros.
- Enter the macro details as explained in the guide to writing user macros.
- Click Add.
To edit a user macro:
-
Go to the Confluence 'Administration Console':
- Choose Browse > Confluence Admin. The 'Administrator Access' login screen will be displayed.
- Enter your password and click Confirm. You will be temporarily logged into a secure session to access the 'Administration Console'.
- Select User Macros in the left-hand panel. This will list the currently configured user macros.
- Click Edit next to the relevant macro.
- Update the macro details as explained in the guide to writing user macros.
- Click Save.
To remove a user macro:
-
Go to the Confluence 'Administration Console':
- Choose Browse > Confluence Admin. The 'Administrator Access' login screen will be displayed.
- Enter your password and click Confirm. You will be temporarily logged into a secure session to access the 'Administration Console'.
- Select User Macros in the left-hand panel. This will list the currently configured user macros.
- Click Remove next to the relevant macro.
Related Topics
No content found for label(s) admin-macros. |