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!