Retrieve values from microflow for pluggable widget
0
I am developing a pluggable widget that will be getting data from a microflow. My current approach is to use the “useEffect” React function to check on the value of “props.data.status”, if if that is “available”, then I attempt to get the data I need from that object. If I inspect that object in the debugger I can see the data under props.data.items However, props.data.items[0].Symbol is “undefined”, which means I cannot get to the “attributes. How do I get the data returned from a microflow? Thanks Peter
asked
Peter Weatherdon
1 answers
1
Hi Peter,
If you use a data source with pluggable widgets you should use