You will have probably created an Image entity in Mendix which is associated with the Asset entity in Mendix. Now when you display Asset objects in a list view or data grid, you can create a data view that listens to the list or grid widget (assets list). On selection of any row, data view is passed that row (asset) object. Now inside this data view, you have the selected asset, you can make Mindsphere call to fetch its image, store it in Mendix and display it.
If you are looking for HTML and JS solution. Use click event for selection and then fetch image, update your Iframe HTML element via JS with new image.
Thank you Umar for the detailed explanation. Appreciate it.
Hello Umar,
This is how I was trying as you suggested.
1. First thing, in Mindsphere I uploaded an image file to the specific asset
2. Created a dataview that listens to the selected asset row.
Any help on the above will be appreciated.
Thanks,
Kalyan
Please ignore. I was able to figure out the above.
Thanks again for your guidance.