Copied to clipboard

Flag this post as spam?

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


  • fernando 5 posts 75 karma points
    Jan 08, 2019 @ 14:07
    fernando
    0

    Umbraco Forms Call webservice after submit

    Hi ! I working with umbraco 7.2.8 and umbraco forms. I need to call a webservices after sending the form, do you have any idea how to do this?

    Thx.

  • Matthew Wise 257 posts 1182 karma points MVP c-trib
    Jan 08, 2019 @ 14:37
    Matthew Wise
    0

    Hi Fermado,

    I have done similar thing with Campaign monitor you can see the workflow code here - https://github.com/Matthew-Wise/umbraco-forms-campaign-monitor/blob/master/src/Mw.UmbFormsCampaignMonitor/WorkFlows/PushToMarketing.cs

  • fernando 5 posts 75 karma points
    Jan 08, 2019 @ 15:34
    fernando
    0

    Hi Matthew

    How do you know which is the class that runs when submit form? or are there some hooks?

    Thx

  • Matthew Wise 257 posts 1182 karma points MVP c-trib
    Jan 08, 2019 @ 15:37
    Matthew Wise
    0

    Your class needs to inherit from WorkflowType, this will allow it to be picked up by Umbraco Forms and you can then add it to your workflow for that form via the UI.

    You can read more on the documentation here - https://our.umbraco.com/documentation/Add-ons/umbracoforms/developer/Extending/Adding-a-Workflowtype

    MAtt

  • fernando 5 posts 75 karma points
    Jan 08, 2019 @ 15:44
    fernando
    0

    Thank you very much I'll try and tell you how it worked

  • fernando 5 posts 75 karma points
    Jan 08, 2019 @ 21:02
    fernando
    0

    Matthew,

    im Create the class but I do not know how to add it to the mail workflow I do not have any additional option to do it

    Thx

  • 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