How can I edit the Aris report on its header to insert an image or change its position or delete it?
Best Reply
Hi,
Which reports do you mean? The standard process report? In that report, the header is not editable, as far as I know.
Best,
Veronika
4 Replies
-
Hi,
Which reports do you mean? The standard process report? In that report, the header is not editable, as far as I know.
Best,
Veronika
-
thank you for the answer. Do you have any suggestion about this problem ?
-
Hello Nauval,
if you want to customize a standard report you should duplicate the script to avoid it being overwritten by a future Aris update.
The report "Create process manual" uses setReportHeaderFooterWithTitle() from the language dependant atsall<LocaleID>.js library in /Common Files/. From there the header images are included in the report ouput using:
// graphics used in header var pictleft = Context.createPicture(Constants.IMAGE_LOGO_LEFT); var pictright = Context.createPicture(Constants.IMAGE_LOGO_RIGHT); ... outfile.OutGraphic(pictleft, - 1, 40, 15); ...
Constants.IMAGE_LOGO_LEFT / _RIGHT are resolved to the path of SAG's logo files under /Common Files/ according to the selected report ouput format.
If you want to use your own images upload them to /Common Files/ and include them with a copy of the corresponging code from atsallen.js in your custom script referencing them by file name:
var pictleft = Context.createPicture("myLOGO_LEFT);
See Script Help for details.
Regards, Martin
-
FYI
Note that in the past there are Standard Reports that are LOCKED by SAG and therefore cannot be copied/edited/customized. Sometimes if you open a ticket with SAG they will provide you with an "Unlocked" version so you can customize it yourself.