You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Can we create custom Java scripts in Email Templates in Oracle CX Sales Classic?

Summary:

I must replace the comma with a new line character for a CX Sales String field that I used in the Email Template.

Example: String str = "PRODUCT1, PRODUCT2, PRODUCT3"

The result I need in the Email Template would be

  1. PRODUCT1
  2. PRODUCT2
  3. PRODUCT3

I tried the below in the Source code HTML format of the Email Template, but it doesn't work.

<div>{{[$FieldAPIName$].replaceAll('.','' \n ')}}</div>

Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable):

Oracle Fusion Cloud Applications24D 



Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!

CX Solutions - Live Demos

Drop in to one of our regularly scheduled CX demo hour sessions to learn more about Marketing & Sales Unification and more!

Learn more