Find entities whom have a linked media


How can I find a category/ baseproduct or variant that has a specific guid in their “_images” field?

Can I use dataservice somehow?

Litium version: 7.2.3

You can use DataService if you need to use this in BO otherwise if you are talking about public sites then you need to index the _images field and then use Search instead which is faster.

We’re doing a import from another PIM. So I guess a search would be better?

Search is always better (faster) if possible to use.

The search index contains the TagNames.FileId that will be the name of the field that the File.SystemId will be stored in.

Remember that search index is not 100% up to date all the time and sometimes the search is returning stale data when an index queue that has not been completed yet exists.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.