Using custom javascript in deployment


Hi guys,

I've followed

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

1 answer

This one is the BEST answer!


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.


Submitted by jeremykent2726_1 on Tue, 06/16/2015 - 09:24

This looks very promising, thank you! I very much appreciate it.