JD

Is it possible to change the report header for reports using scripts? How can I replace the current Word template? I know how to change the logo's, but i want to see a customer logon only and not the standard table with one row.

 

by Mateusz Kniżewski
Posted on Wed, 11/14/2012 - 09:29

Hi Jan,

   You want to create 1 raport that change header in other raports at once or you  you want to have custom header in your raports ?





Answer to the first question is to have other script that contains custop header (one for every raport you want to be in). Add this script to all raports and you this part in the beggingin of the raport

function setupOutputObject(outputObj)
{
	outputObj.SetPageWidth(297.20)
	outputObj.SetPageHeight(210.10)
	outputObj.SetLeftMargin(30)
	outputObj.SetRightMargin(30)
	outputObj.SetTopMargin(20)
	outputObj.SetBottomMargin(20)
	outputObj.SetDistHeader(10)
	outputObj.SetDistFooter(10)
	outputObj.SetAutoTOCNumbering(true)
	globalHeader(outputObj)

	globalFooter(outputObj)
}
function globalHeader(outputObj) {
	outputObj.BeginHeader()
	outputObj.EndHeader()
}
function globalFooter(outputObj) {
	outputObj.BeginFooter()
	outputObj.EndFooter()
}

 

The second question can be solved by changing the global header function

 

 

 

0

Featured achievement

Rookie
Say hello to the ARIS Community! Personalize your community experience by following forums or tags, liking a post or uploading a profile picture.
Recent Unlocks

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