This article provides the step by step instructions on how to add personal space and apps to the Macro Security for Confluence app.
Instructions
- Log into a Confluence instance as an administrator.
- Go to your profile picture and click Personal space as shown below:
- Create a page in that space and do the following:
- Click the Cog wheel , select Manage apps and expand the Macro Security app.
- Click Configure to see Confluence administration page.
- From this page, macros can be added manually or can be imported from the macro properties file.
- Adding macros manually:
- Enter the macro name and personal space key as shown in the below screenshot and click Add.
- Make sure the required macros are enabled as per your requirement.
- Import macros from the properties file:
- Click and select Import macro properties to choose the required properties file from where the macros to be imported.
- Click and select Import macro properties to choose the required properties file from where the macros to be imported.
- Adding macros manually:
- Go to the Global configuration tab and make sure the option: Enable macro security is enabled.
- Go to the page that was created in Step#3 and add macros (SQL macro as per the given example above) in the page and provide the required parameters. You will be able to successfully able to use the respective macro(s) in your personal space only.
- If the macro is used in any other space (other than the personal space), the below error is displayed: