Searching in a dynamic field – sometimes suffix is not added in solr-query

We came up with following: We had to find out the Rendering Item for a given Datasource Item. We thought it is a good idea to use ContentSearch for this: searching for the items with template “Controller Rendering” with the Datasource template which is equal to the fullpath of the template of our datasource item.

Continue reading “Searching in a dynamic field – sometimes suffix is not added in solr-query”

How to get the Page Visits from XConnect

Often when we build something like sliders or grids which hold teasers for content or product pages, customers want to have the possibility to sort it. Often there should be a sorting by popularity – which means counting the page visits.

Continue reading “How to get the Page Visits from XConnect”