Copied to clipboard

Flag this post as spam?

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

  • Gordon Saxby 1453 posts 1874 karma points
    Oct 20, 2016 @ 12:10
    Gordon Saxby

    Merge custom fields from Umbraco Member

    Is that possible? Is it something that I would need to custom code in a custom Render Task?

    Any chance you have an example?

  • Markus Johansson 1924 posts 5831 karma points MVP 2x c-trib
    Oct 20, 2016 @ 13:02
    Markus Johansson


    You can include them in the content. There is some documentation here:

    In a nutshell:

    Newsletter Studio will replace this with the value from that unique member. So the basic idea is to use [#aliasOfProperty] to include the value in the message body.

    So if you have a member property with the alias "city" you can type [#city] in the body of the newsletter and Newsletter Studio will insert the content here.

    NOTE: You have to active the custom data collection in the settings before this works.

  • ewuski 97 posts 263 karma points
    Oct 13, 2023 @ 16:31

    Great this is possible!

    I have an additional question - we have a custom member field that holds a more complex member data as a IPublishedContent (eg. content picker type property) in a member type.

    Is it possible to replace properties of that content picker type in the email body, eg. content picker is a member property called memberContent and it's IPublishedContent type so cannot be as such inserted as a string to the email body, but properties of memberContent can?

    eg. [#memberContent] cannot but can [] for example?

  • Markus Johansson 1924 posts 5831 karma points MVP 2x c-trib
    Oct 18, 2023 @ 15:20
    Markus Johansson


    Please note that this is a old post for Umbraco 6 or 7.

    We will support this but the syntax is different for the newer versions. There is more info about this in the Merge Fields-section on this page:

    We will not try to understand complex data types on the member, if you need this I would recommend that you implement a custom "Merge Field Provider" and inactivate the built-in one.


Please Sign in or register to post replies

Write your reply to: