Copied to clipboard

Flag this post as spam?

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


  • Jon Frederiksen 52 posts 111 karma points
    Aug 26, 2016 @ 13:43
    Jon Frederiksen
    0

    Custom Subscription Providers

    Hi Markus

    This is your lucky day. :-)

    We've added a custom mailing liste (from an API) and we have only a very slight dummy problem: how to add it to the newsletterStudio.config.

    There is no documentation on it. I can see the subscriptionProviders section in the file, but what's the right syntax?

    Thanks.

    Jan

  • Markus Johansson 1945 posts 5898 karma points MVP 2x c-trib
    Aug 29, 2016 @ 09:30
    Markus Johansson
    0

    Hi!

    Have you looked here: http://support.newsletterstudio.org/customer/en/portal/articles/1052901-subscription-providers

    This video shows how to add a render task to the config, subscription providers works the same way: https://www.youtube.com/watch?v=Qp3SMrD4bjc

    Cheers!

  • Jon Frederiksen 52 posts 111 karma points
    Aug 30, 2016 @ 05:48
    Jon Frederiksen
    0

    Thanks Markus

    All I was looking for was this line in the config file

    <provider name="MyCustomListClass" type="My.Namespace, MyCustomListClass" />
    

    I followed the tutorial on how to implement the custom list, but it does not work. When trying to send the newsletter out, my custom list does not appear bellow the Default one.

    What am I doing wrong?

  • Markus Johansson 1945 posts 5898 karma points MVP 2x c-trib
    Aug 30, 2016 @ 07:28
    Markus Johansson
    0

    Hi!

    Your're probably getting the type (namespace and class name) wrong. Should be:

    type="Any.NameSpace.That.You.Use.ClassName, AssemblyName"

    If look at this provider: https://github.com/enkelmedia/NewsletterStudioContrib/blob/master/Newsletter%20Studio%20V2/NewsletterStudioContrib/SubscriptionProviders/DownloadSubscriptionProvider.cs

    The assembly name is: NewsletterStudioContrib

    The namespace: NewsletterStudioContrib.SubscriptionProviders

    Class name: DownloadSubscriptioProvider

    This ends up with this configuration:

    <provider name="CustomProvider" type="NewsletterStudioContrib.SubscriptionProviders.DownloadSubscriptioProvider, NewsletterStudioContrib" />
    

    // m

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies