Retrieving metadata and categories doesn't work



I'm working on a project where I'm using ImageVault 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?


Jan 14, 2015 14:38


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

using ImageVault.Client.Query;

Edited, Jan 19, 2015 9:22
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.