Copied to clipboard

Flag this post as spam?

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


  • Soeren Sprogoe 575 posts 259 karma points
    Dec 14, 2011 @ 15:03
    Soeren Sprogoe
    0

    Mail to e-mail address specified on node

    Hi there,

    playing around with the most excellent Contour, but I've run into a problem I just can't figure out how to solve.

    I have a bunch of hotels created as nodes in Umbraco. Almost each one of these hotels has a unique booking form created in Contour, and associated via a Form Picker.

    When one of these booking forms are submitted, I want it send to the hotel owner, ie. an e-mail address specified on the hotel node.

    Any clues on how to accomplish this?

    Best regards,
    Soeren Sprogoe

  • Jonny Irwin 91 posts 153 karma points
    Dec 14, 2011 @ 15:14
    Jonny Irwin
    1

    In the email field in the workflow, put [#propertyAlias] where property alias is the name of the property that the email is stored in.

  • Comment author was deleted

    Dec 14, 2011 @ 15:25

    Yup you can use a special syntax that is outlined in the developer docs to get values from request collection, property values, session values, member values ... So it should it's just a mather of knowing the alias and then setting the setting on the workflow to [#propAlias]

  • Soeren Sprogoe 575 posts 259 karma points
    Dec 14, 2011 @ 15:31
    Soeren Sprogoe
    0

    @Jonny: Thanks, worked perfectly!

    @Tim: Wait... There's docs? Isn't this an Umbraco project? :-P

    Sweet, I guess I should really go read it. Thanks mate!

  • Comment author was deleted

    Dec 14, 2011 @ 15:45

    @Soeren and 30 pages of it, well at least we hide them a bit :p

  • Joakim Olsson 7 posts 27 karma points
    Jan 23, 2014 @ 10:15
    Joakim Olsson
    0

    I have the exact same question, but [#propalias] don't work for me.. This is my first time using Contour by the way.
    The property is on the current node as well. 

    I'm using Umbraco 6.1.3 and Contour 3.0.17.

     

  • Comment author was deleted

    Jan 23, 2014 @ 10:26

    Is your form on the page containing the property?

  • Joakim Olsson 7 posts 27 karma points
    Jan 23, 2014 @ 11:09
    Joakim Olsson
    0

    @Tim Yes it is. 

    Let's say it was on a different node, is there a way that I could find it then, like Xpath?

  • Comment author was deleted

    Jan 23, 2014 @ 11:16

    Nope no xpath only recursive option of you use $, + make sure to use the alias in correct casing

  • Joakim Olsson 7 posts 27 karma points
    Jan 23, 2014 @ 13:38
    Joakim Olsson
    0

    Ah ok, thanks!

    But my problem still persists.. The form works if I type in the selected email adress in the textfield, but it just won't get the value from the node property.

    Is there a proper way troubleshoot this?

  • Comment author was deleted

    Jan 23, 2014 @ 14:07

    Running site in MVC mode? Let me test if it isn't a bug :)

  • Joakim Olsson 7 posts 27 karma points
    Jan 23, 2014 @ 14:11
    Joakim Olsson
    0

    Yes I am!

    Thanks, that would be great :)

  • Comment author was deleted

    Jan 23, 2014 @ 14:21

    Ok might be due to changes there then, will let you know what i find

  • Joakim Olsson 7 posts 27 karma points
    Jan 28, 2014 @ 16:22
    Joakim Olsson
    0

    Hello again!

    You've had the time to look at it yet? :)

     

    Thanks

  • Comment author was deleted

    Jan 28, 2014 @ 16:44

    Not yet, will do it later today

  • Comment author was deleted

    Jan 28, 2014 @ 20:01

    Yeah it' due to changes in the way the webforms and mvc engine handle the page values, will need to update, planned for this week

  • Joakim Olsson 7 posts 27 karma points
    Jan 29, 2014 @ 09:42
    Joakim Olsson
    0

    Oh I see. 

    Thanks a lot for the information! I'll keep an eye out for updates :)

  • Comment author was deleted

    Jan 29, 2014 @ 13:34

    Looking into a solution now so hopefully I'll have a fix later today :)

  • Comment author was deleted

    Feb 06, 2014 @ 11:36

    Sorry for the delay, back on the bug today :)

  • Joakim Olsson 7 posts 27 karma points
    Feb 07, 2014 @ 14:02
    Joakim Olsson
    0

    Hehe no worries, good luck :)

  • 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