简体   繁体   中英

Using google apps script to manage a google site

I have been playing around with the Sites Services in GAS lately. I was hoping that there would be a way to add or edit embedded spreadsheets and charts. However, I have found the Sites services to be very limited. I have looked and am still wrapping my head around the Google charts API but I do not think this is geared towards integrating with a Google site.

My question is first, is it possible with the current services and if so what is a good starting point?

Thanks for any and all advice!

Regarding embedding charts - see this blog post - particularly the code snippet around addHostedAttachment

Couple of other resources in the developer docs that might be useful around sites examples -

  • This tutorial contains examples on how you can push list items from a spreadsheet to a Google Site.
  • Another tutorial shows how you can embed UI into a Google Site. You can use the same technique to embed chart.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM