Copied to clipboard

Flag this post as spam?

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


  • Romand 14 posts 154 karma points
    Dec 14, 2016 @ 22:11
    Romand
    0

    CustomData not injected when accessing the online version

    I have a dynamic subscription provider and a render task.

    The provider gives me the list of people to sent the mail to. For each Receiver object, a Dictionnary of custom data is being used. The render task manipulates the unsubscription link to embed correct information.

    When the mail is received, everything is set up correctly. The CustomData are available for the render task as expected;

    Now,

    If the user clicks on the online version of the mail, NS calls again the subscription provider, then goes to the render task. This time the CustomData remains null ... The render task is then lacking important information to create the link.

    It looks like a serious bug to me, unless I missed something obvious ?

    Thanks for your quick return,

  • Markus Johansson 1914 posts 5761 karma points MVP c-trib
    Dec 15, 2016 @ 08:12
    Markus Johansson
    0

    Hi!

    It sounds to me like there is something wrong here. The "CustomData"-feature has not been heavily used / tested since it's release so it's possible that this is something that has been around for a while.

    I will have a look at this and try to reproduce the issue. Are you on the latest version of the package (as of now 2.1.6)?

    // m

  • Romand 14 posts 154 karma points
    Dec 15, 2016 @ 08:18
    Romand
    0

    Yes 2.1.6

    Looking forward to hear if you can reproduce it.

  • Markus Johansson 1914 posts 5761 karma points MVP c-trib
    Dec 15, 2016 @ 08:40
    Markus Johansson
    100

    Hi!

    I can confirm this, when the letter is rendered online we're using a "mock" of the original tracking item for this user that does not contain allt the data that is provided from the subscription provider during send out.

    I've added this as a bug in our backlog and it will be a part of the next release.

    As a workaround: Depending on what information you are storing in CustomData it might be possible to get the same data from another place based on the e-mail when your render task does it work.

    Ie. if you are getting a custom property from a members you could call to the members API in your render task to "get around" the issue for the moment while waiting for a new release.

    // m

  • Romand 14 posts 154 karma points
    Dec 15, 2016 @ 08:54
    Romand
    0

    I know it may sounds a bit like a duplicate, but wouldn't it make sense to fetch the CustomData from the ns_EmailTrackingItems based on the Email and the NewsletterId ?

  • Markus Johansson 1914 posts 5761 karma points MVP c-trib
    Dec 15, 2016 @ 09:03
    Markus Johansson
    0

    Hi!

    Like I said in the other thread that's my first question as well. I'm not sure if there is a reason for not doing it that way and since it was a long time ago I need to look closer at it.

    I will keep you posted. Please drop me an email: markus [at sign here] enkelmedia.se and I'll provide you with some hotfixes as soon as we get things sorted our.

    Cheers!

    // m

Please Sign in or register to post replies

Write your reply to:

Draft