Using custom javascript in deployment
Hi guys,
I've followed
http://community.bonitasoft.com/blog/how-add-custom-javascript-your-boni...
http://community.bonitasoft.com/groups/usage-operation-5x/javascript-pro...
http://community.bonitasoft.com/blog/add-your-own-widgets-your-forms-exa...
and many others that work fine on studio but do not work for me in deployment. I'm meant to understand that it was a bug that existed prior to version 6.3 but I'm using 6.5 but I still haven't gotten it to work. What could be the problem?
Thank you for you time and help
Hi,
What we've ended with doing in my place is configuring the apache frontend to serve static files and then source the js dependencies in this file:
$ BONITA_HOME/client/tenants/1/work/theme/portal/BonitaForm.html
the cons is that you will need to edit this file again when you will upgrade / reinstall your server the pro is that do not need to compile and deploy each time you want to change a single line in your JavaScript code
The big pro is that it just works.
Comments
This looks very promising, thank you! I very much appreciate it.