Genesys CTI User Forum
Genesys CTI User Forum => Genesys-related Development => Topic started by: ankur_khurana01 on March 30, 2015, 12:39:20 PM
-
Hi,
I am using composer 8.1.4 and want to create custom javascript and use it in the expression builder of "Assign" block. As per the documentation of composer, it is possible to create custom javascript by placing it in include/user folder. I did the same but the custom functions are not appearing in expression builder.
Am I missing anything? Has anyone used custom javascript functionality?
Regards,
Ankur Khurana
-
Did you try to "generate" code (i.e. compile)? Do you see your JSP udner mentioned folder?
-
Did you add the jscript file as reference on the CallFlow properties?
-
Guys,
Thanks a lot for the replies. I was able to resolve the issue. The issue was with callflow name as it had spaces in it. I renamed the callflow name without spaces and followed below mentioned steps to add custom javascript:
1) Create custom javascript and add in “Scripts” folder.
2) Add the script name in “Entry” block (In Global properties-->Scripts).
Compilation of the callflow is not required.
-
Of course is required... Otherwise vxml file will not have those new properties