Scroll Office Export Macro

Christian Englbrecht October 16, 2017

Hello,


First: Sorry for my bad english ;)

i try to create a full automatic export macro. If you Click on it, it should give out an defined export scheme, relating in what space you are. 

Example:

 

Space A --> Export Scheme x

Space B --> Export Scheme y

 

At this moment it looks like this:

 

## @noparams

<ac:macro ac:name="scroll-ignore">

bereichkey=$space.getKey()
#if($bereichkey =="OZBFHyg")
exportschemeid="OZBFHyg-9646AFE7015800470821EDD026BD5CE4"
#else
exportschemeid="WT-9646AFE7015D596A754A0954371E32E2"
#end


</ac:macro>

<div style="background-color:#01A9DB;width: 350px;height: 37px;"><ac:macro ac:name="scroll-ignore"><ac:rich-text-body>
<p><a class="scroll-office-launcher" data-export-scheme-id="exportschemeid" href="#"
<b><center><font color="#FFFFFF"><font size=5><span style="font-family: 'Wingdings 2'">&#54; </span>
</font>Word-Dokument erzeugen</a></font></center></p></b></ac:rich-text-body>
</ac:macro></div>

 

Im not a Programmer, but i think the "exportschemeid" has to be a variable. 

I have no idea how to correct the code. Maybe you can help me. 

1 answer

0 votes
Brant Schroeder
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 12, 2024

@Christian Englbrecht Have you tried looking for an answer in the developer community https://community.developer.atlassian.com/  If you are trying to cerate an app this is a good place to go.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events