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. 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events