I'm working on a project where I'm using ImageVault 220.127.116.11. In the project I'm building a plugin were you list and modify images used for the website. The problem I have is that I'm not able to retrieve any values for categories or metadata, they always get a null-value.
The code I'm using is the following:
var client = ClientFactory.GetSdkClient();
var images = client.Query().Include(v => v.Categories).Include(p => p.Metadata).ToList();
In the list I get all images and some basic information like created date or uploaded by, but both categories and metadata are null.
The categories and metadata are created by the user directly in ImageVault.
Does anyone know what the problem could be?
I think you got help via our support and found the cause yourself. As a note to anyone else who might having the same problem, make sure to add the following using statement to get access to the correct Include statements