Hello, I'm running a coded search on a custom reco...
# suitescript
v
Hello, I'm running a coded search on a custom record which has an 'Image' type field. Usually when you getValue on this field, you get the Image (File) ID. Is there a way to get the image URL directly from the search, instead of having to load the file record and then get the URL?
Just found out that 'getText' on an image field returns the URL. Is this the correct way though?
👍 1
a
The right way in my opinion would be to do a search using the IDs or use url.resolve to get the URL, getText is very weird/unreliable for my taste.