Is it possible to use PHP and AJAX in UI Designer?
Is it possible to use PHP and AJAX in UI Designer? I ask because I need that according to the information selected in the first page of the UI Designer only the information corresponding to the selected record is displayed, for that I thought to use a select that returns the respective data to me. And for that I would need AJAX to be secure that connection. If you have another idea how I can do this display without having to go back to BonitaSoft Studio and need to create another task for this I thank you.
I had this issue recently:
- Create a form variable of type json - selectedValue
- For your Select use an appropriate REST API call to get the BDM data and show the select/key fields.
- For the Select add selectedValue to the Selected Value parameter
- Add the fields you want to display from the BDM and give them the value of selectedValue.fieldname
This way when you change the select you will also change the other fields.
PS: As this reply offers an answer your question, and if you like it, please Mark UP and/or as Resolved.