Hi folks,
I'm using a Velocity script to pull a URL from an object in Salesforce that is associated with Contact or Lead but it is changing the case of the URL so the URL isn't working anymore.
I'm using the simplest possible script:
$TriggerObject.PGI_Link_1__c
The value in that field in Salesforce is: www.backroads.com/pgi/18BIRIR1n_pgi.pdf
The value that is put in to the link in the email is: www.backroads.com/pgi/18birir1n_pgi.pdf
I do I stop the case of the link in the email from being changed to lower case? The URLs don't resolve anymore.
Thanks,
Delwin
Good question. Is this datatype "URL" or "String"?
In Marketo and Salesforce the fields are text fields.
Then presumably it would have nothing to do with the purpose of the content (it doesn't know it's a URL). What about other text fields in the same object? Other non-URL content?
The issue was actually on the Salesforce side. We had a code bug that changed the case of the URLs from the source record to the record that actually gets read by the Velocity code.
Thanks for the help Sanford Whiteman.
That makes sense as otherwise no Strings would work.