Bỏ qua đến nội dung

Add note id

Chờ xử lý #anki #addon #add #note
https://ospalh.github.io/anki-addons/Add_note_id.html
6/12/2020

Cách tải addon Add note id

Bạn có thể tải addon bằng một trong hai cách sau:

Click nút Copy bên dưới để copy code vào clipboard

1672832404

Sau đó mở Anki → Tools → Add-ons → Get Add-ons → Dán code → OK

Mở trang addon trên AnkiWeb và tìm mã code ở cuối trang

Mở trên AnkiWeb

Cuộn xuống cuối trang AnkiWeb, tìm dòng có mã code 1672832404 và copy

48
7

Mô tả chi tiết

This adds a uuid to an empty field named “Note ID” when opening the add or edit note window.

When the “Note ID” field is the first field, this automatically satisfies the rule that the first field has to be unique. That means the “real” fields with interesting content don’t have to be unique. (Personally, for synonyms i like to have the same content in the “Expression” or “Meaning” fields, and then put further information in note or disambiguation fields.)

The note id field is also useful when editing the data outside of Anki (text export, edit, text import). With the add-on, Anki can reliably match the notes on reimport, even when the first “interesting” field changed.

There is also a menu item that goes through the collection and fills all fields called “Note ID” with uuids. This menu item can be hidden

(More links at the manual page. Also, the manual is out of date right now. Meh. This whole Anki add-on stuff is low priority for me.)


Liên kết hỗ trợ


Reviews (27)

👍 2025-10-09

Não funciona na Versão ⁨25.07.5 (7172b2d2)⁩

👍 2025-09-02

doesnot install.

👍 2025-03-09

Getting the same error message as another commentor:

Anki 25.02 (038d85b1) (ao) Python 3.9.18 Qt 6.6.2 PyQt 6.6.1 Platform: macOS-15.2-arm64-arm-64bit

When loading Add note id: Traceback (most recent call last): File “aqt.addons”, line 250, in loadAddons File “$HOME/Library/Application Support/Anki2/addons21/1672832404/init.py”, line 22, in <module> from PyQt5.QtCore import QCoreApplication ModuleNotFoundError: No module named ‘PyQt5’

👍 2024-12-16

Been getting “Failed to load” message for a while. Still a problem after new Anki version.

Debug Info from Anki:

Anki 24.11 (87ccd24e) (ao) Python 3.9.18 Qt 6.6.2 PyQt 6.6.1 Platform: macOS-13.7.2-x86_64-i386-64bit

When loading Add note id: Traceback (most recent call last): File “aqt.addons”, line 250, in loadAddons File “/Users/Uchi/Library/Application Support/Anki2/addons21/1672832404/init.py”, line 22, in <module> from PyQt5.QtCore import QCoreApplication ModuleNotFoundError:

👍 2024-07-04

Works as of 7/4/24 on Version ⁨2.1.65. Easy and simple to use. Just follow the instructions.

👍 2024-02-17

I fixed a bit of this add-on for Anki23 and uploaded the fork to AnkiWeb. 🆔Add note ID (Fixed for Anki 23 by Shige) https://ankiweb.net/shared/info/8897764

👍 2022-11-08

it works

👍 2022-08-29

Great!

👍 2022-08-09

work perfectly on latest anki!

👍 2022-01-23

Works well so far,but I was wondering,is there a way to make the IDs be numbers instead of a string of random characters ?

👍 2021-08-17

love it

👍 2021-07-02

Great add-on. One of the basic requirements for all types of decks!

👍 2021-04-22

Works as described.

👍 2020-12-10

I like the update with the UUIDs and that not all new cards start with the same number.

👍 2020-12-06

The dev version on github https://github.com/ospalh/anki-addons works well and provides a ‘real’ uuid instead of some weird number.

👍 2020-11-12

Used to work great, but doesn’t work anymore :( It gives every care a note id of -1500000000000

👍 2020-09-07

This did not work for me: “This adds the nid (note id) to an empty field named “Note ID” when opening the add or edit note window.”

When I opened an add window, nothing happened, my field “Note ID” was empty.

This worked for me: “There is also a menu item that goes through the collection and fills all fields called “Note ID” with the nid.”

But with the main feature not working I disabled the add-on and moved my “Note ID” field to the bottom. I will leave it empty and would use the menu ite

👍 2020-08-29

added “Note ID” section via ‘Fields’ for all my existing cards. Then downloaded this add on. Nothing happened.

👍 2020-08-11

Doesn’t work any more - when I used the menu option, helllla cards got negative numbers.

But beyond that also, every new card I create gets the same ID: -15000…000

👍 2020-04-10

Good add-on, works as expected as long as a field exists named “Note ID” before attempting to edit a card from the browser. As soon as the card is viewed in the browser and then advance to the next card the “Note ID” is automatically filled in.

Works with Anki v2.1.22 (0ecc189a) as of 4/10/20.

👍 2020-03-06

It’s very useful. Thank you. I hope you can develop a plug-in to get cid

👍 2020-02-16

Conflict with extension “Pull from duolingo”:

Will overwrite the unique note-id “Gid” (required by “Pull from duolingo”) if “NoteIdFieldName” is set ot “Gid”.

If “NoteIdFieldName” is something else, “Pull from duolingo” will not be able to obtain the latest new words.

👍 2019-11-15

  1. How to: Add a field called “Note ID” to the note template. Then go to Tools → Add note ids.

  2. To make it work with frozen fields, use the modified add-on called “Ze Add note id” instead.

👍 2019-09-25

This is GREAT!

But it would be perfect if the ID can be hidden to users (or make it optional).

👍 2019-08-14

Do I have to create Note ID field first? I added the add-on but saw no option for automatically assign note ID.

👍 2019-07-30

great addon

but is not compatible with Frozen field

solution is download Ze Add note id

👍 2018-04-26

This boi is essential for decks with lots of duplicate entries, saved my life doing dictionary work. omg.