Change Data Format in Form XML Data

   Journey Manager (JM) The transaction engine for the platform.  |    System Manager / DevOps  |  18.11 This feature was updated in 18.11.

Manager allows you to change data format in the XMLXML (Extensible Markup Language) is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. data of a selected transaction submitted by the user.

Starting from Manager version 18.11.0 the product now uses Open JDK 11, therefore the XML-based locale data is the Unicode Common Locale Data Repository (CLDR), older version of JDK used JRE(COMPAT), the new XML based locale introduced a stop character after the month Abbreviation for some locales like en_AU.

Below is an extract of the Form XML Data, where the Submit Date String before Transact Manager 18.11 is displayed:

<OfflineSubmissionId/>
<ReceiptNumber>XXXXXX</ReceiptNumber>
<SubmitDateString>17 Sep 2019 23:35:55 pm</SubmitDateString>
<UpdateUserProfile>false</UpdateUserProfile>
<ShareForm/>
<ServerBuildNumber>18.11.5</ServerBuildNumber>
<RevisionNumber>1</RevisionNumber>
<TrackingCode>XXXXXX</TrackingCode>

Below is an example of the Submit Date String from Manager 18.11 onwards:

<OfflineSubmissionId/>
<ReceiptNumber>XXXXXX</ReceiptNumber>
<SubmitDateString>17 Sep. 2019 23:35:55 pm</SubmitDateString>
<UpdateUserProfile>false</UpdateUserProfile>
<ShareForm/>
<ServerBuildNumber>18.11.5</ServerBuildNumber>
<RevisionNumber>1</RevisionNumber>
<TrackingCode>XXXXXX</TrackingCode>

To be able to get the date stamp without the extra full stop after the month, you will need to update your JBoss virtual machine variables.

You have to update the JAVA_OPTS variable to append the property string -Djava.locale.providers=COMPAT.

This action needs to be performed at manager/server/bin/standalone.conf on the Manager instance of the server.

Note

You will need to restart the Manager server to pull the new change.

Below is how the change in the configuration file should looks like in the different operating systems:

Linux

File: standalone.conf

Config: JAVA_OPTS="$JAVA_OPTS -Djava.locale.providers=COMPAT"

Windows

File: standalone.conf.bat

Config: set "JAVA_OPTS=%JAVA_OPTS% -Djava.locale.providers=COMPAT"

Next, learn how to track submissions.