Hello JMix Team,
I need a help with getting a link from FileRef to use in my JavaScript component for <img src="" tag.
In my project there is an entity Employee and it has a FileRef field named image. Also I have integrated a third-party JavaScript library that is used to show organization tree charts, then I have created a custom JavaScript component for Jmix from this library.
Now I need to pass the json string with the names of employees, their positions and images of these employees to draw the chart.
The library requires URLs to be passed to draw images of employees, but I have difficulties with getting the urls from the employee’s image FileRef fields.
Thanks in advance.