Hot answers tagged

2

I have found the use of SPE to be great for this kind of thing. Here is an example on how to render a scriban template. Example: The following uses Sitecore PowerShell Extensions to render a scriban template. $testTemplate = @" i_item Title: {{ i_item.title }} i_page Title: {{ i_page.title }} "@ $item = Get-Item -Path "master:" -ID &...


2

You may notice on the IPoi items that they now inherit from the template /sitecore/templates/System/Geospatial/Coordinate. If you created custom items which inherit from this template or perhaps you used the OOTB template you should see multiple latitude/longitude fields. Use the following script as an example on how to migrate the field data. Example: The ...


1

PageOrMediaPredicate If you check Settings item under your SXA site root, you will find 2 fields there: Associated Media and Associated Content. If PageOrMediaPredicate is used on your site, only items (or media) selected in those 2 fields will be returned in search results. For content items there is another requirement: they must inherit from _Searchable ...


Only top voted, non community-wiki answers of a minimum length are eligible