google apps script - ScriptApp.getService().getUrl() returns an invalid URL which does not open -
i trying publish gas web app script itself. tried following code.
function publish(){ var service = scriptapp.getservice(); if(!service.isenabled()){ service.enable(service.restriction.all); } var url = service.geturl(); logger.log(url); }
surprisingly returns url fake. if go url nothing opens. if manually go script-editor , save new version , publish app modal popup, again running above code returns correct url. may cause ? not potential bug in app script ?
this known issue - https://code.google.com/p/google-apps-script-issues/issues/detail?id=1703
please star more updates on it. @ point there no way programmatically deploy web app.
Comments
Post a Comment