Is anyone aware if it is now possible to insert anchored comments to a Google Doc from Apps Script?
Comments created in the UI clearly have a
anchor=kix.XXXXXXX anchor when using
Drive.Comments.list('FILE_ID') but when using
Drive.Comments.insert(commentObject, 'FILE_ID') , the added comments appear in the document but aren't linked to any specific part of the document.
I've tried using this parameter in the object, but without success so far:
"anchor": { 'r': 'head',
'a':
{
'text':
{
'o': 5,
'l': 4
}
},
}