Retrieve list of Bound Script of one gSheet

29 views
Skip to first unread message

Michel Ben

unread,
Jun 13, 2020, 9:27:59 AM6/13/20
to Google Apps Script Community
Hello,

Haw can I retrieve the list of Bound Script project of one document with Google API ?

Michel

Alan Wells

unread,
Jun 13, 2020, 9:59:59 AM6/13/20
to Google Apps Script Community
ScriptApp.getScriptId()

Michel Ben

unread,
Jun 13, 2020, 10:48:43 AM6/13/20
to Google Apps Script Community
It seems my question was not clear, so an exemple :

A folder contains few Gsheets.

each gSheet has 2 or more Bound Script projects
           ex : Gsheet  "Electronics" (id = "jkkljsdq;h..." ) has 2 Bound Script projects :
                      1) project name "prj1", id = "3jkqsmlkdsq"
                      2) project name "prj2", id = "1TFLUOI76...."

I know the Gsheet Id and I need to retrieve his 2 projects id.
Something like
   getProjectId("jkkljsdq;h..." )
return ["3jkqsmlkdsq", "1TFLUOI76....")

Alan Wells

unread,
Jun 13, 2020, 10:59:35 AM6/13/20
to Google Apps Script Community

Michel Ben

unread,
Jun 13, 2020, 11:11:41 AM6/13/20
to Google Apps Script Community
OK, I add my demand ;-)


Le samedi 13 juin 2020 15:27:59 UTC+2, Michel Ben a écrit :
Reply all
Reply to author
Forward
0 new messages