Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How do we disable a built-in macro?

Chris Ridgeway September 2, 2015

We want to disable or hide the legacy view-file macro that was used to view PDFs.

Atlassian support seems to be saying this is impossible. User macros have management options to restrict to certain groups, add a category, etc. Built-in macros seem to have none of these.  Macros that are installed by plug-in can be removed in a group by removing the plug-in. 

The functionality of the old PDF macro has been replaced and superseded by the new PDF file viewer in 5.7, so to be honest, we're not sure why they left the old one in there in the first place.

But any help on removing a macro? They have to be stored somewhere... can they be deleted from the admin side?  

2 answers

1 vote
Luiz Maia
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.
September 3, 2015

Hi Chris,

However not suggested, the PDF macro can be disabled. This macro is part of the Office Connector Plugin.

Go to the Manage Add-ons page, change the search filter for "System Add-ons", find the Office Connector Plugin and disable it.

Please note that both the Office Connector Plugin and View File Macro will be discontinued soon. The View File Macro will already no longer exist in Confluence 5.9. We now suggest the usage of the new Files and Images Macro feature.

Thanks.

Regards,
LM 

1 vote
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 2, 2015

Well, you could disable the module (within the add-on) that provides "view file", but that has a couple of problems. 

First, you'd be disabling all the view-file possibilities, not just PDF. 

Second, there may well be shared code - if you turn off view-file, you might lose all the PDF functions because the code that reads PDFs is all in there and other modules just call it.  (I don't think this is the case, but it might be)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events