Bryan
02/23/2026, 8:18 AMCeligo AI
02/23/2026, 8:18 AMAI generated answer (using internal Slack threads):To fetch the URL of an image recorded in an image custom field using SuiteScript, you would typically need to load the file record and then get the URL. However, it has been mentioned in the conversations that using 'getText' on an image field returns the URL. Here is a sample code snippet:
javascript
var fileObj = file.load({
id: fileId // replace with your file id
});
var url = fileObj.url;
In this code, file.load is used to load the file record using the file ID, and then the URL of the file is obtained using fileObj.url.
Please note that this method might not work in all cases, as some users have reported that 'getText' can be unreliable. In such cases, you might need to use url.resolve or perform a search using the IDs to get the URL.
******
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
02/23/2026, 8:18 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.82611084
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.819580078
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.818786681
Celigo AI
02/23/2026, 8:18 AMCeligo AI
02/23/2026, 2:36 PMCeligo AI
02/23/2026, 2:36 PM