I have an HTML file that calls certain functions of a javascript file when a button is clicked. I’ve been able to import a javascript file into the UI Designer but I can not make a button that performs a certain function of that javascript file, is it possible?
check this answer
https://community.bonitasoft.com/questions-and-answers/how-create-custom-button-run-function-called-properties
Copy your JavaScript file code in a JavaScript asset.
On my previous answer the is a link to download custom button which call JavaScript asset.
The only difference is that for me this javascript file is an asset, I can call an asset with a custom widget?
Thank you for your help
My need in fact is, do I own a javascript file with N functions within that file, is there any way to call a particular function of that file when I click the button? As if it were the onClick () function in HTML file that takes functions from an external javascript file?