Blog by Sasha twitter linkedin

January 22, 2021

Scriban for Sitecore tips

I will try to document code snippets that I found useful.

How to handle a treelist field - say your item has a multiselect field pointing to a bunch of items. sc_followmany should do the trick but gave me trouble, so I used this:
<script src="https://gist.github.com/Sasha-Kachanov/6eb74a3f742a56bddf7dbbb84c7bee89.js"></script>

No comments:

Post a Comment