It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to set a variable (or equivalent) in a specific space in Confluence Cloud, for use with macros

I'm currently pulling in data to Confluence Cloud spaces that are from an add-on (pulling company data from Salesforce), using macros that come with the add-on.  It's working fine, but the problem is that I need to use a specific "Company ID" string of characters that changes with each space/company (each space is setup per company, so the "Company ID" changes based on the space in question).  This is used with quite a few macros on each page.

Currently this is a manual process where I have to change each instance of each macro to change the company ID, for every one.  What I'd like to do is define a variable for the space, or the page itself at least, that contains this Company ID, and use that to populate the macro/object data instead of manually placing the new company ID in for each macro object, on every page.  I know variable is probably not the term Atlassian uses for this, and the Include Page macro doesn't seem like it would work when referencing the page content in another macro, instead of just the page itself - but maybe I'm missing something.

Is this possible on Confluence Cloud?  I'm new to a lot of the macro & this related stuff.  I appreciate any assistance!

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

67 views 3 5
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you