If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

How to Customize errorpage.html in Cognos 8

Started by joseph123, 18 Jan 2011 01:38:48 PM

Previous topic - Next topic

joseph123

Hi All

PLease can any one aware how to customize errorpage.html in Cognos/C8/cg-bin path.

Eg: I want to add Admin Name and mail ID.

${ERRPAGE_APPNAME}


  ${ERRPAGE_UNEXPECTED}


  ${error_message}
"${details}"
${ERRPAGE_SOURCE_FILE} "${src_file}" ${ERRPAGE_SOURCE_LINE} ${src_line} (${src_module}) 

  ${ERRPAGE_MAILTOADMIN} ${admin_email} ${ERRPAGE_CONTACTADMIN}

 


Thanks & regards,
Ven


Rutulian

#1
Hi Ven,

I'd imagine if there's a file there called errorpage.html (haven't got access to a server currently to check) it's just a matter of editing it and hardcoding the admin name and email with something like

<a href=mailto: admin_email@mycorp.com> Contact Administrator </a>

or even

<p> Take a screenshot of this page and email to <a href=mailto: admin_email@mycorp.com>  Administrator </a></p>

Each gateway in your system would need to be modified the same way.

If you find a cleverer way of doing this with variables as you set out in your post let me know.  If the cgi-bin page is just a redirect to something hosted in tomcat you probably can hack it a neater, more manageable way than my 'get it done, but it ain't clean' method.

[edited to display HTML correctly]