Using Email Script Tokens from Marketo Custom Objects in URLs
Hi there -- My team is new to Marketo and we're having a hard time getting a customized URL to populate from an email script token in one of our emails.
We're using the following script for the token:
#set($licenseSubmissionURL = ${accountDataSortedList[0].licenseSubmissionURL})
#set($docuSignLink = $licenseSubmissionURL.replaceAll("^https://powerforms.docusign.net/","") )
<a href="https://powerforms.docusign.net/${docuSignLink}">Click Here</a>
The issue we're running into is that the $docuSignLink tag is not properly loading upon send/preview so we're getting an error that the power form we're pointing to can't access $%7BdocuSignLink%7D. We've tried this using both ${docuSignLink} and $docuSignLink with the same results.
We're all pretty new to velocity so I'm wondering if there are any helpful resources that may help us troubleshoot? I've dug through the community posts here, the developer guide, and the Apache toolkit which all tell me the above script should work.