NElliott
09/03/2024, 9:43 AM<a href = "${custbody_the_field}"
I'm advised the field contains characters that will break the freemarker. Understood.
If I use ?url after the field to format it, I'm actually left with a string that includes "href = " and not just the url I need for the href property of the anchor.Celigo AI
09/03/2024, 9:44 AMAI generated answer (using internal Slack threads):Based on the conversations, it seems that the issue is with the way the hyperlink is being formatted in the custom field. The correct way to format a hyperlink in a custom field is to use the concatenation operator (
||
) to combine the different parts of the hyperlink.
Here is an example of how to do this:
'<a href=\"' || {my_custom_field_containing_only_the_url} || '\" target=_blank>Link</a>'
In this example, {my_custom_field_containing_only_the_url}
is the custom field that contains the URL. The ||
operator is used to concatenate the different parts of the hyperlink. The \"
is used to escape the double quotes in the hyperlink.
Also, it's important to note that the custom field should be of type "Hyperlink" and the "Store Value" option should be checked.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
09/03/2024, 9:44 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.858121216
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.853267372
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.843666613
Celigo AI
09/03/2024, 9:44 AM