NY

How can I edit the Aris report on its header to insert an image or change its position or delete it?

by Veronika Ellermann
Badge for 'Fan' achievement
Posted on Wed, 11/20/2024 - 11:44

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

1
by Martin Schröder
Badge for 'Contributor' achievement
Posted on Thu, 11/21/2024 - 14:51

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

 

 

1
by Michael Hubbard
Posted on Wed, 12/04/2024 - 00:12

In reply to by smarty

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.

0

Featured achievement

Genius
You like to help others solve their problems by answering questions.
Recent Unlocks
  • KF
  • KH
  • RG
  • Profile picture for user Vee_ARIS
  • Profile picture for user smarty
  • PacMan

Leaderboard

|
icon-arrow-down icon-arrow-cerulean-left icon-arrow-cerulean-right icon-arrow-down icon-arrow-left icon-arrow-right icon-arrow icon-back icon-close icon-comments icon-correct-answer icon-tick icon-download icon-facebook icon-flag icon-google-plus icon-hamburger icon-in icon-info icon-instagram icon-login-true icon-login icon-mail-notification icon-mail icon-mortarboard icon-newsletter icon-notification icon-pinterest icon-plus icon-rss icon-search icon-share icon-shield icon-snapchat icon-star icon-tutorials icon-twitter icon-universities icon-videos icon-views icon-whatsapp icon-xing icon-youtube icon-jobs icon-heart icon-heart2 aris-express bpm-glossary help-intro help-design Process_Mining_Icon help-publishing help-administration help-dashboarding help-archive help-risk icon-knowledge icon-question icon-events icon-message icon-more icon-pencil forum-icon icon-lock