Skip to content

Instantly share code, notes, and snippets.

@jccarlin56
Created November 2, 2013 14:39
Show Gist options
  • Select an option

  • Save jccarlin56/7279563 to your computer and use it in GitHub Desktop.

Select an option

Save jccarlin56/7279563 to your computer and use it in GitHub Desktop.
Gets the descriptions for the attachments.
var pages = SitesApp.getSite('example.com', 'mysite').getChildren();
var attachments = pages[0].getAttachments();
var description = attachments[0].getDescription();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment