What is the format for displaying a hyperlink in a...
# ask-stanley-ai
c
What is the format for displaying a hyperlink in a custom field?
c
AI generated answer (using internal Slack threads):
The format for displaying a hyperlink in a custom field in NetSuite can be achieved by using HTML tags in a Formula (HTML) field type. The formula should be in the following format:
Copy code
'<a href=\"' || {my_custom_field_containing_only_the_url} || '\" target=_blank>Link</a>'
In this formula,
{my_custom_field_containing_only_the_url}
is the placeholder for your custom field that contains the URL. The
||
is used to concatenate the URL from the custom field with the rest of the HTML tag. The
target=_blank
attribute is used to open the URL in a new tab or window. If you want to create a hyperlink to another page in NetSuite, you can use a similar approach but replace the URL with the internal URL of the NetSuite page. For example:
Copy code
'<a href=\"https://[YOURACCOUNTNUMBER].<http://app.netsuite.com/app/accounting/transactions/purchord.nl?id=|app.netsuite.com/app/accounting/transactions/purchord.nl?id=>' || {createdfrom.internalid} || '&whence=\">display text</a>'
In this formula, replace
[YOURACCOUNTNUMBER]
with your actual account number and
{createdfrom.internalid}
with the internal ID of the record you want to link to. The
display text
is the text that will be displayed as the hyperlink. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.851651192
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.845137894
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.843483925
Please provide your feedback on this answer.