Comments in Google Doc

80 views
Skip to first unread message

Edward Ulle

unread,
Jul 1, 2019, 9:49:21 AM7/1/19
to Google Apps Script Community
Is there any way to add/remove Comments in a Google Doc through App Script?  There is a menu option to add comments but can't find anything in the Doc object model.

Steve Webster

unread,
Jul 1, 2019, 10:05:17 AM7/1/19
to google-apps-sc...@googlegroups.com
There is a feature or issue within the issue tracker for this.

Kind Regards,

Steve Webster
SW gApps LLC, President 
Google Product Expert in: Google Apps Script, Drive, and Docs 
Google Vendor (2012-2013) || Google Apps Developer Blog Guest Blogger 
Add-ons: Text gBlaster and Remove Blank Rows


On Mon, Jul 1, 2019 at 9:49 AM Edward Ulle <thew...@gmail.com> wrote:
Is there any way to add/remove Comments in a Google Doc through App Script?  There is a menu option to add comments but can't find anything in the Doc object model.

--
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/59a66d5f-d335-41a0-9266-2b8d3c2ceb4d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Andrew Roberts

unread,
Jul 1, 2019, 10:41:23 AM7/1/19
to google-apps-sc...@googlegroups.com
You can manage GDoc comments using the Advanced Drive service: https://developers.google.com/drive/api/v3/manage-comments. And you don't event have to enable the service in the cloud console ony more, just tick it in the Advanced Service list from the script editor. https://developers.google.com/apps-script/guides/services/advanced

Edward Ulle

unread,
Jul 1, 2019, 11:48:30 AM7/1/19
to Google Apps Script Community
I'm refering to inline comments.  You can add a comment to a paragraph using the Doc menu.  But how do I identify there is a comment on that paragraph and edit it or remove it?


On Monday, July 1, 2019 at 7:41:23 AM UTC-7, andrew wrote:
You can manage GDoc comments using the Advanced Drive service: https://developers.google.com/drive/api/v3/manage-comments. And you don't event have to enable the service in the cloud console ony more, just tick it in the Advanced Service list from the script editor. https://developers.google.com/apps-script/guides/services/advanced

On Mon, 1 Jul 2019 at 15:05, Steve Webster <st...@swgapps.com> wrote:
There is a feature or issue within the issue tracker for this.

Kind Regards,

Steve Webster
SW gApps LLC, President 
Google Product Expert in: Google Apps Script, Drive, and Docs 
Google Vendor (2012-2013) || Google Apps Developer Blog Guest Blogger 
Add-ons: Text gBlaster and Remove Blank Rows


On Mon, Jul 1, 2019 at 9:49 AM Edward Ulle <thew...@gmail.com> wrote:
Is there any way to add/remove Comments in a Google Doc through App Script?  There is a menu option to add comments but can't find anything in the Doc object model.

--
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-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-community+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages