Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Damion 96 posts 331 karma points
    Apr 08, 2020 @ 10:11
    Damion
    0

    Using Dictionary Items in a Custom Component

    Is it possible to retrieve dictionary items from within a custom component? I have a component where I send an email when a Member is created in the back office, it works fine but I want to hold some of the email content as dictionary items.

    I thought the following would work but it doesn't return the items

    var emailHeading = Umbraco.Web.Composing.Current.UmbracoHelper.GetDictionaryValue("Set Password Email Heading", "Set Password Email Heading..");
    
Please Sign in or register to post replies

Write your reply to:

Draft