Genesys CTI User Forum > Genesys-related Development
Custom Javascript in Composer 8.1.4
(1/1)
ankur_khurana01:
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
Kubig:
Did you try to "generate" code (i.e. compile)? Do you see your JSP udner mentioned folder?
cavagnaro:
Did you add the jscript file as reference on the CallFlow properties?
ankur_khurana01:
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.
cavagnaro:
Of course is required... Otherwise vxml file will not have those new properties
Navigation
[0] Message Index
Go to full version