How do I display subscribed MQTT messages on the interface?

0
Hello, my friend, I want to display the contents of the input box on the interface when I click 'Publish', but it doesn't actually show it. My microstream is as follows: I don't know what's wrong with me, please help me! Thank you!
asked
1 answers
0

You need to refresh the object already on screen, rather than create a new object in your MQTTSubscribe microflow. At the moment, all you’re doing is passing the new message into CallbackText, and that is just logging it. 

https://docs.mendix.com/refguide/change-object#refresh-in-client

Hope this helps.

 

answered