I am migrating spaces from on premises to Atlassian cloud and have No print User macro, How can I migrate this to cloud? I know cloud does not support User Macros, but is there any alternate in cloud ?
Hello @Ashwini Sarangamath,
Welcome to the Community!
User Macro in Confluence Cloud exists as a 3rd party app: https://marketplace.atlassian.com/apps/1232013/user-macro-for-confluence-cloud
With that, you can create different User macros or use templates from our library.
Our NoPrint macro looks like the following:
It allows you to exclude certain sections when exporting to different formats like Print, PDF, Word, or Email, and even customize the content for each format.
This approach is much safer than just hiding sections using styles.
You can also transfer your existing User Macros from the server to the cloud, ensuring they continue to work after the migration.
For that, contact us via email: 📧 info@wombatscorp.com
Regards,
Roman, CEO of Wombats Corp
You can still hide sections using CSS styles if needed.
<style>
@media print {
.noprint {
display:none;
}
}
</style>
<div class="noprint">$body</div>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Indeed, a no print user macro is not possible since there are no user macros in Cloud.
The official way is to build an app to replace the macro.
There do exist existing apps to do this so I suggest looking in to those.
https://marketplace.atlassian.com/search?hosting=cloud&query=no%20print
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ashwini Sarangamath ,
Welcome to the community !!
unfortunately all you can do is delete the macros from the pages by editing them out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.