Implementation Guide for Oracle Billing Insight > Using and Customizing Email and SMS Notifications >
Customizing the Default Display Patterns Used in Notifications
You can change the default display patterns Oracle Billing Insight uses to display the following data in email and SMS notifications:
- Date
- Time
- Date and time
- Integers
- Decimals (double)
- Amounts
The default notification display patterns are defined in the notification.cfg.xma.xml file. The valid display patterns are defined in the ApplicationResourcesNew.properties file, as shown: #################### Date,Time,Number ########################
global.pattern.number.integer=#,##0 global.pattern.number.decimal=#,##0.00 global.pattern.number.percent=#0.00% global.pattern.number.amount=\u00A4#,##0.00 global.pattern.number.amount2=\u00A4#,##0.00;\u00A4(#,##0.00) global.pattern.number.amount3=#,##0;(#,##0) global.pattern.number.amount4=#,##0.00;(#,##0.00) global.pattern.date.short=M/d/yy global.pattern.date.medium=MM/dd/yyyy global.pattern.date.long=MMM/dd/yyyy global.pattern.date.input=MM/dd/yyyy global.pattern.time.short=HH:mm global.pattern.time.long=HH:mm:ss global.pattern.date.time=MM/dd/yyyy HH:mm:ss
The defaults set in the notification.cfg.xma.xml are used in all Oracle Billing Insight applications: Self-Service, Assisted Service, Command Center, and Web Services. For example, you can change the default date pattern from global.pattern.date.medium (M/d/yy), to global.pattern.date.long (MMM/dd/yyyy). To customize the default display patterns used in email notifications
- Edit the notification.cfg.xma.xml file, located in the following directory:
- UNIX.
EDX_HOME/ xma/config/com/edocs/common/notification\
- Windows.
E DX_HOME \xma\config\com\edocs\common\notification\
- Edit the appropriate values in the patternConfig property in the <bean id="GlobalConfigurationBean" JavaBean. Specify one of the display patterns defined in the ApplicationResourcesNew.properties file:
<property name="patternConfig"><map merge="default"> <entry key="defaultDatePattern"><value>global.pattern.date.medium</value> </entry> <entry key="defaultTimePattern"><value>global.pattern.time.long</value> </entry> <entry key="defaultDateTimePattern"><value>global.pattern.date.time</value> </entry> <entry key="defaultIntPattern"><value>global.pattern.number.integer</value> </entry> <entry key="defaultDoublePattern"><value>global.pattern.number.decimal</value> </entry> <entry key="defaultAmountPattern"> <value>global.pattern.number.amount</value> </entry> </map> </property>
|