Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Launch URL in Current Tab
Hi there,
I have a Suitelet form that displays a Sublist. In the Sublist, I show a URL in one column that I get from running a search for a given 'Hyperlink' field in an Entity record. I'm hoping to have this URL launch in the current tab when clicked. I'm currently using a 'FieldType.URL', but suspect that I should instead use 'FieldType.INLINEHTML', yet that produces an error when I use the following code snippet. Any ideas what I'm doing wrong?
var url = '<a href="' + result.getValue({ name: 'custentity_pay_url' }) + '" target="_self">Link</a>'; 0