Vedachalam Mahadevan
03/18/2025, 10:49 AMin Netsuiet saved search formula html field how to force opening in new window. '<a href=' || '<https://app.netsuite.com/app/common/search/searchresults.nl?searchtype=Time&Time_DATEasof=CUSTOM&Time_DATEfromrel_formattedValue=&Time_DATEfromrel=&Time_DATEfromreltype=DAGO&Time_DATEtorel_formattedValue=&Time_DATEtorel=&Time_DATEtoreltype=DAGO&Time_CUSTOMER=%40ALL%40&style=REPORT&Time_DATEmodi=ONORAFTER&Time_DATE=CUSTOM&report=T&grid=&searchid=46&sortcol=Time_DATE_raw&sortdir=DESC&csv=HTML&OfficeXML=F&pdf=&size=1000&Time_DATEfrom='%7C%7C> (NEXT_DAY(TO_DATE({custrecord_muts_tss_date},'YYYY/MM/DD'),'SUNDAY')-7) || '&Time_DATEto=' || (NEXT_DAY(TO_DATE({custrecord_muts_tss_date},'YYYY/MM/DD'),'SUNDAY')-7) || '>View Time Entry Detail</a>'
Celigo AI
03/18/2025, 10:50 AMAI generated answer (using internal Slack threads):To force a link to open in a new window or tab in a NetSuite saved search formula HTML field, you can add the
target="_blank"
attribute to your anchor tag. This attribute specifies where to open the linked document.
Here is how you can modify your formula:
html
'<a href=' || '<https://app.netsuite.com/app/common/search/searchresults.nl?searchtype=Time&Time_DATEasof=CUSTOM&Time_DATEfromrel_formattedValue=&Time_DATEfromrel=&Time_DATEfromreltype=DAGO&Time_DATEtorel_formattedValue=&Time_DATEtorel=&Time_DATEtoreltype=DAGO&Time_CUSTOMER=%40ALL%40&style=REPORT&Time_DATEmodi=ONORAFTER&Time_DATE=CUSTOM&report=T&grid=&searchid=46&sortcol=Time_DATE_raw&sortdir=DESC&csv=HTML&OfficeXML=F&pdf=&size=1000&Time_DATEfrom='%7C%7C> (NEXT_DAY(TO_DATE({custrecord_muts_tss_date},'YYYY/MM/DD'),'SUNDAY')-7) || '&Time_DATEto=' || (NEXT_DAY(TO_DATE({custrecord_muts_tss_date},'YYYY/MM/DD'),'SUNDAY')-7) || ' target=\"_blank\">View Time Entry Detail</a>'
Please note that the behavior of target="_blank"
can depend on the user's browser settings, and it may not always open a new window or tab.
******
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
03/18/2025, 10:50 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.840655327
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.836986721
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.836000443
Celigo AI
03/18/2025, 10:50 AM