Custom code: Add field from Multi Reference

Hello guys!

I have a website where the blog posts sometimes have multiple authors, so I created a component for that and integrated in the blog.

One problem I’m having is, I’m configuring the Schema for SEO and I cannot choose the multi reference for the authors. Is there a way to turn it around?

No, you could probably use Microdata instead of JSON-LD.

That’s a good idea, but I’m not much familiar with microdata. So, there’s no way to ‘add field’ from a multi reference, right?

You need to link a collection list directly to the multi-reference field, and then you can emit its contents as records within the collection list. Useful with Microdata. Not useful with JSON-LD.