Anyone know of a way to get a text link in a Suite...
# suitescript
x
Anyone know of a way to get a text link in a Suitelet sublist UI? Inline HTML isn't usable on the serverWidget.createForm to where we can say <a href ="whatever.com">Here's my link text</a>. I know we can add a url, but just having the url itself there isn't going to be totally usable.
a
You want to use the url field type. i.e serverWidget.FieldType.URL
Then set the property linkText to set the text
See SuiteAnswers article 43656 for example
c
Copy code
recordLink = '<a href=\'' + recordLink + '\' target=\'_blank\'>' + recordName + '</a>';
Make it a textarea field with this as the value