Aaron McCausland
04/02/2026, 5:59 PMCeligo AI
04/02/2026, 5:59 PMAI generated answer (using internal Slack threads):Based on the conversations, there is no direct formula function or global variable available in saved search result columns that indicates whether the search is being run in a sandbox environment or a production environment. However, you can use relative URLs in your formulas to dynamically adapt to the environment. For example, you can use a formula like this:
'<a href=\"/app/common/entity/vendor.nl?id=' || {internalid} || '\" target=\"_blank\">View</a>'. This way, the URL will work regardless of whether it's a sandbox or production environment.
In addition, the N/runtime module in SuiteScript can be used to determine the environment type (sandbox or production). However, this is not directly applicable to saved search result columns.
******
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
04/02/2026, 5:59 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.864196777
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.831848145
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.828186035
Celigo AI
04/02/2026, 5:59 PM