Hi All,
I have a element used in a blocklist, how can I programatically fetch the element using its key(Guid). I have tried using the Umbraco helper .Content method but that does not work.
p
Patrick de Mooij
10/27/2023, 12:06 PM
I believe there is no way to currently retrieve the element through its key without fetching its parent first. This is because elements in a blocklist aren't individual entities in the database, but are contained in the parent node.
You'll need to retrieve the node first and then go through the elements in the blocklist to find it