Hi guys I am really struggling to solve this problem: I am using an API to get random food jokes. I managed to get the api working with the mapping and everything. I want these jokes(text) to be generated and displayed after the user presses a button. I went through the documentation and couldn’t find anything. I managed to get the api working with the mapping and everything. Could you please help me out? Thank you!
create a Non persistable entity, with a string attribute.
Add a dataview to the page you want to display the joke.
Set datasource to microflow
Datasource creates a new object based on your Non persistable entity
Add button inside the dataview
Button triggers microflow to call API with input parameter NPE Object
Change the Object of the NPE; Sting attribute > Returned API value
Add text widget on the page with parameter the string attribute