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 Windows system

How to customize Actuate Information Console text and messages on a Windows system

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

1  
Extract the contents of <context root>\WEB-INF\lib\resources.jar into a temporary directory.
1  
2  
cd "C:\Program Files\Actuate11\iPortal\iportal\WEB-INF\lib"
copy resources.jar resources.jar.original
3  
mkdir C:\ap
cd C:\ap
jar -xf "C:\Program Files\Actuate11\iPortal\iportal\WEB-INF\lib\resources.jar"
4  
2  
cd com\actuate\activeportal\resources
copy ActivePortalResources.properties ActivePortalResourcesOrig.properties
3  
In a text editor that supports UTF-8 encoding, edit C:\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:
cd C:\ap
jar -cf resources.jar *
move resources.jar "C:\Program Files\Actuate11\iPortal\iportal\WEB-INF\lib\resources.jar"

(c) Copyright Actuate Corporation 2011