#javascript

How to Use custom HTML and JavaScript To Export Data to Excel

Hi
I have BonitaSoft BPM 7.3.1 .
I have a Custom Application Page fetching Data from an API call. The Data is displayed in a tabular format.
Now I need to export the same data as an Excel Sheet.
I need to have a button to export the Data .

How to calculate days difference between two Dates variable & display the result in the text field?

I am trying to calculate difference between two dates and display the days difference in text field using Bonita BPM Community 7 Version 7.3.1. I am new to Bonita give me some idea that on which event i have to calculate Date difference and display in text field. There is no onselect like events for input type Date in Bonita?

How to calculate days difference between two Dates variable & display the result in the text field?

I am trying to calculate difference between two dates and display the days difference in text field using Bonita BPM Community 7 Version 7.3.1. I am new to Bonita give me some idea that on which event i have to calculate Date difference and display in text field. There is no onselect like events for input type Date in Bonita?

Rest authorization

Hi, I am trying to get list of process instances (or any other rest api data I can get) by making a XMLHttpRequest from Javascript. The loginservice request comes through, but when I try to get the process instances json, response is 401 unauthorized, because the cookie isn't set. Can you please tell me why is that? Just to mention, I tried the withCredential option because I can't manually set the cookie, but it doesn't work.

Notifications