So, it goes like this:
The Media gizmo (where we can place images), when set to
isImageMediaSearch, opens up the Viz One dialog and, when we choose an image, the
AssetUri field gets a URL pointing to the location in the network where the image is.
The URL is something like:
So, in VBScript, I search for "
thirdparty" and replace it with "
api", add it a "
/metadata" at then end, getting a URL that looks like this:
I set a XML object to this address (the "metadata" is an XML file, without the .xml extension), and using the XML commands, search inside the path "
//payload/field[n]" going through all the n fields, for the attribute named "
asset.description". Once I find it, the "
value" field returns the metadata inside the description field. Many more fields/data are accessible.
For example, "
asset.title", "
asset.category", "
asset.materialType", "
asset.aspectRatio", "
asset.publisherName", etc.