Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: cavagnaro on September 18, 2014, 02:49:31 AM
-
Hi guys
A curiosity, on Composer when we use a Prompt block we can use the Interpret as -> Date. On this, a Format drop down is enabled. There we have 2 options:
Short and Long.
According to the JS file we can define custom formats, but can't figure out or how to define them manually or create new ones on Composer.
For example, the Short one puts a format " f.SPEAK_MONTH|f.SPEAK_YEAR" on the VXML file, but what if I want a f.SPEAK_DAY|f.SPEAK_MONTH only?
Any clue?
I know I could build customprompts functions, but...why reinvent the powder??
-
Your project has a javascript file under Resources/Prompts/[locale] with [locale] filename (e.g Resources/Prompts/en-US/en-US.js) where you can find and edit the function datePrompts(value, format).
-
Hi, well kinda very old post but amazingly never found the answer
You are right, we can edit the JS but then on composer side, how I should indicate use format X or format Y
Enviado de meu E6633 usando Tapatalk