Kentico / xperience-by-kentico-algolia

Enables the creation of Algolia search indexes and the indexing of Xperience content tree pages using a code-first approach.
https://www.kentico.com/
MIT License
4 stars 1 forks source link

Add support for "Content items" fields #17

Closed kentico-ericd closed 1 year ago

kentico-ericd commented 1 year ago

Motivation

Previously, our Dancing Goat sample site used the "Media files" data type for fields like Article.ArticleTeaser. These fields are supported by the MediaUrls attribute which outputs a list of absolute URLs to the selected media files.

With the release of the Content Hub, the ArticleTeaser field now uses the "Content items" data type, and our sample code no longer functions.

Proposed solution

A new attribute named something like ContentItemUrls which generates absolute URLs to the content items. Or, the functionality of MediaUrls and this new attribute could be combined into a single attribute which handles both data types.

ondrejhenek commented 1 year ago

Thanks for the feedback. As this is not an urgent issue, we are putting this idea into our internal backlog and will come back to it probably in a few months.