In this tutorial, you will learn how to get the selected drop link item within a Sitecore CMS-powered project, using Synthesis. The code required to get the value from a dropdown using Synthesis is not as intuitive as you might imagine. Instead of using a property, you need to write some code to check for the value, so, if you want to save yourself sometime when working with Synthesis, read on 🔥🔥🔥

TIP: If you want to learn more about how to use Synthesis as an ORM in Sitecore, read this 😊

You can use the code below to get the value from a dropdown list:

You need to use ItemReferenceField.Target.InnerItem.Fields to find the value. Perform a match on DisplayName == "Value" to get the value. Not intuitive but handy!


Happy Coding 🤘