0
고객에게 48 시간 이내에 문서를 다운로드하고 48 시간 후에 Google 사이트에 대한 클라이언트 액세스 권한을 삭제한다고 알리는 기능을 찾고 있습니다. timed 이벤트 핸들러가 실제로이 기능을 제공하지 않는 것 같습니까 ??48 시간 후에 Google 사이트 도구 액세스 권한을 변경하는 방법
function Remove_people(site_name, client_email) {
var domain = "mydomain.com" ;
var site = SitesApp.getSite(domain, site_name);
site.removeEditor(client_email);
// Some counter-timer function???
the_url = site.getUrl();
//email a link to the client
MailApp.sendEmail(client_email,
"Your Documents are ready!",
"Your documents are accessible for 48hrs at the url below: \n\n " +
the_url + "\n\n",
{name:"My Name"});*/
Logger.log("Done!");
}
동의합니다. 나는 이렇게 할 것입니다. 하지만 다운로드 방법을 잘 모릅니다. GAS를 통해 다운로드하는 사람은 아무도 없습니다. - 각 사용자에 대해 문서 복사본을 만든 다음 48 시간 후에 문서 사본을 삭제할 수 있습니다. – eddyparkinson