How to pass arbitrary metadata along with an image

Last Updated: Release 4.3

Issue/Question

How do I pass arbitrary metadata with an image on the service, and access it from the client?

Solution

On the service, in the implementation of RenderTarget, the target exposes a parameter map to which you can add values.

On the client, to access custom image parameters, listen for the ViewUpdated event on the view. The parameters are exposed as a property on the ViewUpdatedEventArgs object.

The documentation describes this in more detail here.

 

April 11, 2017