Badges
Accepted Solutions
Likes Received
Posts
Discussions
Ideas
Blog Posts
The JSON data will come in like this. [{"vehicleYear": 2018, "vehicleMake": "Mercedes-Benz", "vehicleModel": "GLC", "requiredDocs": [{"Docs":"Proof of Income,OTHER DOC1,OTHER DOC2"}]}]I need to output the string of Docs into a bulleted list in the email body. The code I have so far does successfully...
Sanford, you are the greatest. I will take your advice and suggestions in consideration. I'm still learning Velocity, so this made me happy to see a very thorough reply.
I believe I fixed it. I set my defaults at the top of the script. Seems to be working. There are some instances where the values will be passed into the JSON field with "". So that's why I did line 29-31. Thank you though Sanford. If you have the time to evaluate my coding, I'd appreciate that. I'm ...
Hey Sanford. Thanks. I edited my question and highlighted the code as Java.
I'm having an issue where instead of Marketo showing the default value when previewing an email, it shows ${drivername}. In the campaign I'm building, not all values set in velocity will exist in the JSON field. Some records may have a few while another has all.How do I code my velocity so that if a...