I have a file in the file cabinet available withou...
# suitescript
c
I have a file in the file cabinet available without login. How can I get the full absolute external url in SS2? file.url returns a relative url
l
You could try this:
Copy code
var host = url.resolveDomain({
			hostType: url.HostType.APPLICATION,
			accountId: runtime.accountId
		});
Then just append it with the relative URL.