Hi everybody.
In NAV Madeira/2017 we get a new datatype mediaset. All in all an interesting setup for images, but I'm unable to access them dynamically. Currently the only option is record.media(set)field.MEDIAID to retrieve the related GUID of the field, so you can subsequently retrieve the blob value and/or stream from the Tenant Media system table. However when using recordrefs/fieldrefs the fieldref.value contains an empty guid, and calcfields is denied since it's not a flowfield.
In the description in the table Tenant Media, you do see what could be something as a recordid (without the table prefix). But this is anything but robust.
Anybody willing to share their results of research on the new media/mediaset datatypes?
In NAV Madeira/2017 we get a new datatype mediaset. All in all an interesting setup for images, but I'm unable to access them dynamically. Currently the only option is record.media(set)field.MEDIAID to retrieve the related GUID of the field, so you can subsequently retrieve the blob value and/or stream from the Tenant Media system table. However when using recordrefs/fieldrefs the fieldref.value contains an empty guid, and calcfields is denied since it's not a flowfield.
In the description in the table Tenant Media, you do see what could be something as a recordid (without the table prefix). But this is anything but robust.
Anybody willing to share their results of research on the new media/mediaset datatypes?