Creating a custom Information Console web application : Configuring a custom Information Console web application : Modifying text and messages : How to customize Actuate Information Console text and messages on a UNIX or Linux system

How to customize Actuate Information Console text and messages on a UNIX or Linux system

Use the location of your Information Console installation if it differs from the location used in this example.

1  
1  
cd /usr/local/Actuate11/iPortal/iportal/WEB-INF/lib
cp resources.jar resources.jar.original
2  
mkdir ap
cd ap
jar -xf /usr/local/Actuate11/iPortal/iportal/WEB-INF/lib/resources.jar
2  
cd com/actuate/activeportal/resources
cp ActivePortalResources.properties ActivePortalResourcesOrig.properties
3  
In a text editor that supports UTF-8 encoding, edit ap/com/actuate/reportcast/resources/ActivePortalResources.properties to add your custom error messages in the following format:
<Errorcode>=Example of a message with no variables.
<Errorcode>=Example of a message with a variable {0}.
<Errorcode>=Message with three variables {0}, {1} and {2}.
where <Errorcode> is the Actuate error number or constant of the message being customized.
4  
5  
Rebuild the resources.jar file with your customized ActivePortalResources.properties file:
jar -cf resources.jar *
mv resources.jar /usr/local/Actuate11/iPortal/iportal/WEB-INF/lib/resources.jar

(c) Copyright Actuate Corporation 2011