Badges
Accepted Solutions
Likes Received
Posts
Discussions
Ideas
Blog Posts
If you already have the $output (the part that Sanford mentioned), I'd say that you can also do something along these lines:#set( $output = $input.replaceAll( $regex, "$1\u001e$2\u001e$3" ).split("\u001e") )#set( $outputA = $output[0] )#set( $outputB = $output[1] )#set( $outputC = $output[2] )
Great, thanks, that's what I was looking for.
I was wondering if there's a possibility in velocity to use regex capturing groups? So, as a simple example, we may want to get "Some Name", "13:00" and "14:00" from the following input string: "Some Name: 13:00 - 14:00". There are multiple ways how this can be achieved but one possibility would be ...
Just sent you some credentials. I'm afraid this is something that Marketo (or T-Online) have to fix but maybe you can find some workarounds.
Thanks Sanford, I just tried to access the program id using your email script in this blog post but it seems like this doesn't work in my tests. I've tried it with several Marketo instances but always got something like this:Munchkin ID is MUNCHKIN_IDProgram ID is ${marketoSend.ProgramId}Campaign ID...
Thanks a lot for the help and explanation, that works just fine!Oh, there is, I just cringe at the need.Me too
We have to send a CSV file every time someone submits a form (so ideally as an attachment to an alert email). Since we can't attach files to emails in Marketo, we could... either use a web hook or similar to generate and store a CSV file externally and respond with a link to that CSV file that we co...
What would be the best / most efficient way in velocity to automatically convert (ideally all or at least some) special characters to the equivalent unicode escape code, e.g.Ä -> \u00c4,ä -> \u00e4Ö -> \u00d6ö -> \u00f6Ü -> \u00dcü -> \u00fcß -> \u00dfI haven't found some built-in function that can ...
Sorry, my bad then, I thought it's fired before onValidate. Should've checked that.
Yes, custom de-duplication should always be used but I don't want to reset the cookie too early. I could check all the fields manually in onSubmit as you've mentioned but in onValidate I at least know if the form is currently native-valid (without manual checks). But you're right, both options can b...