Is it possible to use PHP and AJAX in UI Designer?

1
0
-1

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.

2 answers

1
0
-1

Would you please explain with an example?

1
0
-1

I had this issue recently:

  1. Create a form variable of type json - selectedValue
  2. For your Select use an appropriate REST API call to get the BDM data and show the select/key fields.
  3. For the Select add selectedValue to the Selected Value parameter
  4. 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.

regards
Seán

PS: As this reply offers an answer your question, and if you like it, please Mark UP and/or as Resolved.

Comments

Submitted by romualdo.s.rs on Wed, 05/03/2017 - 13:18

Thanks for the feedback, could you give me a simple example of how you did so I can get an idea of ​​where to start?

Submitted by romualdo.s.rs on Thu, 05/04/2017 - 13:07

I do not understand how I could do this via UI Designer. If you can put an example of how I can put the select in a variable REST API

Notifications