--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-script-community.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/b5cf0d76-915a-4c1a-8381-ec26f75df1f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Gents, when a user selects an existing file / folder using the File Picker, does that automatically consider your application as having authorization to use that file under the drive.file scope? Or is there some additional flow that needs to be incorporated?
--
You received this message because you are subscribed to a topic in the Google Groups "Google Apps Script Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-script-community/_W-NKbttfbo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-script-c...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-script-community.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/4b84ccf7-c2e2-4e5d-8553-979be442fce5%40googlegroups.com.
DriveApp.getRootFolder();
google.script.run.testingAccessToFile(id);
function testingAccessToFile(fid) {
var r = Drive.Files.get(fid);
Logger.log(r);
return;
}
--
You received this message because you are subscribed to a topic in the Google Groups "Google Apps Script Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-script-community/_W-NKbttfbo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-script-c...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-script-community.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/7834a2c7-95ea-4390-8173-9e47310b5f3d%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Google Apps Script Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-script-community/_W-NKbttfbo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-script-c...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-script-community.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/245ce056-6006-4605-a20b-37b9b1269987%40googlegroups.com.
Hmm, in my testing it wouldn't work until #2 was complete. You're sure you never entered information into that screen before?- Eric
On Mon, Jun 17, 2019 at 11:21 AM Faustino Rodriguez <fau...@thexs.ca> wrote:
Thanks a lot @Eric for your valuable support, as usually !!--- Just by doing point #1 below (.setAppId() ), the Script gets access to the Picker selected file+ Should I do #2 as well?- What should I enter as the 'Open URL' ?- for my testing, I am using .setQuery()
On Monday, June 17, 2019 at 10:46:08 AM UTC-4, Eric Koleda wrote:Hi Faustino,I did some research, and there are two requirements needed for the drive.file + Picker integration that aren't obvious:1) You must include the method call .setAppId('...') when setting up the PickerBuilder, setting it to the value of the project number of your project.2) You must set at least an Open URL and 256x256 application icon in the Drive API's "Drive UI Integration" screen.The Open URL won't be used if you don't set any MIME types or file extensions to open. The icon will show up in Drive's "Settings > Manage apps" screen.I'll work with the technical writers to make sure this information is made clearer in the documentation.Best,- EricOn Mon, Jun 17, 2019 at 9:50 AM Faustino Rodriguez <fau...@thexs.ca> wrote:
You received this message because you are subscribed to a topic in the Google Groups "Google Apps Script Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-script-community/_W-NKbttfbo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-script-community+unsub...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-script-community.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/7834a2c7-95ea-4390-8173-9e47310b5f3d%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "Google Apps Script Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-script-community/_W-NKbttfbo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-script-c...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-script-community.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/CAK4Rc%2BegVogbxFSMzSWbQunVf_H9j%2BYzMKUd%3DQGEhn0_Zq4-2w%40mail.gmail.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Google Apps Script Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-script-community/_W-NKbttfbo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-script-c...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-script-community.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/b40d1ce7-1244-4506-82ca-b162ab7ca72d%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Google Apps Script Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-script-community/_W-NKbttfbo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-script-c...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-script-community.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/88803d1e-e458-4e01-89b5-20c935f11608%40googlegroups.com.
To unsubscribe from this group and all its topics, send an email to google-apps-script-community+unsub...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to google-apps-script-c...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-script-community.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/88803d1e-e458-4e01-89b5-20c935f11608%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Google Apps Script Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-script-community/_W-NKbttfbo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/04c2f618-3458-458f-b3e5-22685efc33f7%40googlegroups.com.
To unsubscribe from this group and all its topics, send an email to google-apps-script-community+unsub...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-script-community.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/88803d1e-e458-4e01-89b5-20c935f11608%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Google Apps Script Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-script-community/_W-NKbttfbo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-script-community+unsub...@googlegroups.com.
@Eric, Thanks for your quick and clear reply. Not the answer I wanted, but it is a clear answer.If I decide to use the picker method and the user choose the then current Google Doc, do I get a new token for that same user every time they do this over the course of time? And, does the new token apply to the one file or all files previous authorized? Again, our goal is to subscribe for Push notifications for the particular file(s) to access them long after the initial grant of authority.
To unsubscribe from this group and all its topics, send an email to google-apps-script-c...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-script-community.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/88803d1e-e458-4e01-89b5-20c935f11608%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Google Apps Script Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-script-community/_W-NKbttfbo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/04c2f618-3458-458f-b3e5-22685efc33f7%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/99375947-5cd2-44bb-a445-e524e5c22019%40googlegroups.com.