Using custom javascript in deployment

1
0
-1

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

1 answer

1
0
-1
This one is the BEST answer!

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

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

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

Notifications