SP
Hi all,
I want to write a word report with script aris defining the style that we have in a template.
is this possible?
i'm newbie on writing script on ARIS so you can give me any sample of code?
Best regards
Stefano Pulliero
Hi Stefano,
yes, it's possible. I managed to use styles defined in the template (ARIS 10). Below is an example:
var bytes = Context.getFile("template.docx", Constants.LOCATION_SCRIPT); var oOutput = Context.getOutputObject(Context.getSelectedFile(), bytes); oOutput.OutputLnF("Text ouput","Style_from_template")