0

How to search for hosted attachments in google sites using Google App script? I tried to search using page.search("query", options) with page type as Webpage, Filecabinetpage, but I'm not able to search my page attachments. Can anybody help me in this?

4

1 回答 1

1

There is no direct search method. However, you can use the Page.getAttachments() to get a list of attachments and do a manual search through them.

You can open a request in the Issue tracker for this feature to be added.

于 2013-10-29T10:50:56.910 回答