im trying to pass a transaction link to a custom f...
# general
p
im trying to pass a transaction link to a custom field, inside a URL parameter in an email template but am stuck, has anyone every done this? ive done this from a saved search to a PDF template before, but the same thing isn't working in the email template I've tried: custom field in netsuite is a transaction list, the url parameter is &field_id="{$transaction.id} custom field in netsuite is URL or free text, the url paramteter is &field_id="actual url then ="${transaction.id}"
r
as I recall, parsing and escaping ampersands "&" into url's is handled differently from one template type to another. Have you tried forcing the field "value" into HTML encoded text? or appending the
"?html"
or
"?no_esc"
to your field name and see if one of those help. It should be noted that
"?html"
is technically deprecated, so it may not always work going forward if NS updates their freemarker interpreter version.
p
interesting, i'll check this out
https://4351677.extforms.netsuite.com/app/site/crm/externalcustrecordpage.nl?compid=4351677&formid=6&h=AACffht_zlvjhtgO4QaSYQuk3omUWGpHqWQ&custrecord_customer=471964&custrecord_recentorderlink=1402937 @Ricardo this is how the link renders when i send the email to myself. The Customer parameter works fine to select the customer on the, but the recentorderlink is blank, I even changed the field type recentorderlink to free text just to confirm, and also made it the first and only parameter but still seems nothing is being passed for some reason