in netsuite can i create a saved search with image...
# ask-stanley-ai
n
in netsuite can i create a saved search with images in a filecabuinet and where i can get image url with .jpg etc
c
AI generated answer (using internal Slack threads):
In NetSuite, you can create a saved search that includes images from the file cabinet. However, the saved search itself will not directly provide the image URL with .jpg or other extensions. Instead, it will provide the internal ID of the file in the file cabinet. To get the URL of the image, you can use SuiteScript's
N/file
module. Here's a basic example of how you can do this:
Copy code
javascript
var file = file.load({
    id: 'internalId' // replace with the internal ID from your saved search
});

var url = file.url;
In this example,
url
will contain the URL of the image, including the .jpg or other extension. Please note that this requires some scripting, and the URL will be relative to your NetSuite domain. If you need an absolute URL, you can prepend your NetSuite domain to 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. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.844751835
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.843093753
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.835479677
Please provide your feedback on this answer.