Copied to clipboard

Flag this post as spam?

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


  • No1sBothered 7 posts 27 karma points
    Jul 04, 2021 @ 07:10
    No1sBothered
    0

    Umbraco Forms Workflows, MembershipHelper and Dependency Injection

    We are using Umbraco Forms Workflows to create members and running into a few problems. The first one being that we need to get an instance of the MembershipHelper, we have tried injecting the helper but Lightning Inject throws an error.

    Why is MembershipHelper not available via DI in Umbraco Forms Workflows and what workaround would be best for this?

  • iNETZO 133 posts 496 karma points c-trib
    Aug 05, 2021 @ 12:27
    iNETZO
    0

    Hi No1sBothered,

    Did find a solution to inject the MembershipHelper in a workflow via DI? We use member = Umbraco.Web.Composing.Current.UmbracoHelper.MembershipHelper.GetCurrentMember(); . While this works, this gives a obselete warning.

    iNETZO

  • No1sBothered 7 posts 27 karma points
    Aug 13, 2021 @ 09:03
    No1sBothered
    0

    No, we do the same as you at the moment, i have raised the issue with the Umbraco Forms team but was redirect to the forum to ask the question...

  • iNETZO 133 posts 496 karma points c-trib
    Aug 13, 2021 @ 11:02
Please Sign in or register to post replies

Write your reply to:

Draft