Hi,

I'm using Google Drive API to handle comments of the file,

I'm trying to insert comment into specific range of an spreadsheet file.

I'm submit anchor like below code. It has just insert comment to 
spreadsheet but comment does not point to cell I want.

anchor
{
"r":revisionId
,"type":"workbook-range"
,"uid":0
,"a":
[
{
"matrix":{"c":1,"r":9,"w":1,"h":1}
,
"page":{"p":0}
}
]
}

When I use DriveService.Comment.List(). The result returned like this:

 "kind": "drive#comment",
 "commentId": "AAAAAQrgmsQ",
 "createdDate": "2015-06-04T03:54:29.799Z",
 "modifiedDate": "2015-06-04T03:54:29.799Z",
 "author": {
 "kind": "drive#user",
 "displayName": "Tuấn Nguyễn",
 "picture": {
 "url": 
"//lh3.googleusercontent.com/-Wk9SkM58cwQ/AAAAAAAAAAI/AAAAAAAAAeg/weKjPUld20U/s96-k-no/photo.jpg"
 },
 "isAuthenticatedUser": true
 },
 "htmlContent": "Sheet2.B7",
 "content": "Sheet2.B7",
 "deleted": false,
 "status": "open",
 "anchor": "{\"type\":\"workbook-range\",\"uid\":0,\"range\":\"853807192\"}"
, "fileId": 
"AAHRpnXs_cUcYznxwAKRVWREoWFNE3658W9jQbgrj8B9pmHGwrCgCwnSEm2Eqt0e2MuZl9C73KIog1kcDMYt9HdlKANL5jUm5IjMNCpGVma0xMbpI3wIZXMU"
,
 "fileTitle": "Authoring Scripts Example",
 "replies": [

 ]

The returned anchor format is not like 
https://developers.google.com/drive/web/manage-comments

Thanks for any help

-- 
You received this message because you are subscribed to the Google Groups 
"Google Spreadsheets API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to