MultiField mapping

Hi i have a field of type MultiField which is supposed to hold fields of type MediaPointerImage. I’m having trouble to get the images in the builder, and can’t find any words about it in the documentation. Do anyone know how to get the images from this MultiField?
Litium version: 7

Hi,

Since we introduced the Pointer type, please use Pointer type with Image as the Entity type instead of using MediaPointerImage.

Please take a look at the BannersBlockViewModelBuilder of the Accelerator for the example. This is the builder for the Banner block. Banner block can have multiple banner item. Each item has a background image so I think it fits your requirement.

I changed to Pointer type instead, and it works like a charm!

1 Like