Learn how Scrivito CMS can help you deliver amazing digital experiences
See Scrivito CMS in action

includedObjs()

The CMS objects that were included in this search.

facets = Scrivito.getClass("BlogPost").where('tags', 'contains', 'design').facet('tags', { includeObjs: 5 }); firstObj = facets[0].includedObjs()[0]; firstObj.get("title");

If you haven't specified includeObjs in your facet options, an empty array is returned. The resulting Objs are ordered by relevance.

Returns

Array<Obj>