Help: API Read Request NOTES
Hi,
I would like to be able to display Zotero notes and attachments with the API Read Request, how can I do it?
I tried this command:
for (var j=0;j<notes.length;j++) {
var note = z.Items.get(notes[j]);
var note_html = note.getNote;
}
… found here:
https://www.zotero.org/support/dev/client_coding/javascript_api#get_child_notes_for_an_item
… but it doesn’t work. Is it deprecated?
Thanks a lot in advance,
Loraine
I would like to be able to display Zotero notes and attachments with the API Read Request, how can I do it?
I tried this command:
for (var j=0;j<notes.length;j++) {
var note = z.Items.get(notes[j]);
var note_html = note.getNote;
}
… found here:
https://www.zotero.org/support/dev/client_coding/javascript_api#get_child_notes_for_an_item
… but it doesn’t work. Is it deprecated?
Thanks a lot in advance,
Loraine
https://groups.google.com/forum/#!forum/zotero-dev
In particular, some more detail on what you're trying to do and from where would be helpful. The above code still works, but it's for use with the local javascript API (which you can only run from inside Firefox or mozrepl) once you already have a Zotero item object.
Zotero server API documentation is here: https://www.zotero.org/support/dev/web_api/v3/start
but again, any follow-ups please post to zotero-dev