“Publish to the web” for Document in Google Apps S

2019-02-20 04:31发布

Is there any plan to provide Google Apps script capability for the "Files | Publish to the web..." menu item in a google Document?

This has been asked before, but heck if I can find an answer. To be clear, I don't mean setting the sharing or viewability of the Document itself, I mean the thing where a web page representation of the Document with its own link is generated.

Thanks,

Brian

1条回答
smile是对你的礼貌
2楼-- · 2019-02-20 04:57

It is not possible directly with GAS. However, using the Document List API and URLFetch with oAuth, you can, in theory make a document public on the web. Publish to the web option, per se, isn't available though.

Please see the following links for information and help

查看更多
登录 后发表回答