Error!
Success!

Handy snippet for Sitecore CMS - Part 5 - Getting items from a Treelis

0
kicks

Handy snippet for Sitecore CMS - Part 5 - Getting items from a Treelis  (Unpublished)

Hi there, In my previous post, you could get the items from a tree list field. In this post, we'll get them in another way: Sitecore.Data.Items.Item item = Sitecore.Context.Item; Sitecore.Data.Fields.MultilistField multilistField = item.Fields["TreeListField"]; Sitecore.Data.Items.Item[] items = multilistField.GetItems(); Hope this is usefull!


Kicked By:
Drop Kicked By: