razer456
07/27/2021, 11:08 AMNElliott
07/27/2021, 11:59 AMNElliott
07/27/2021, 12:01 PMvar domain = url.resolveDomain({
hostType: url.HostType.APPLICATION,
accountId: runtime.accountId
});
var baseurl = 'https://' + domain;
var scriptRef = url.resolveScript({
scriptId: 'customscript_email_extraction_sl',
deploymentId: 'customdeploy_email_extraction_sl',
returnExternalURL: false
});
var scriptURL = baseurl + scriptRef;
Probably want to do that rather than the hard coded section of your url, but that's more of an observation?razer456
07/27/2021, 12:02 PMec
07/28/2021, 10:08 PM