Are card IDs stable?

Context: I’m making an add-on to have prerequisites for notes. It’s pretty much complete and seems to work well. My worry is that currently, the way you say prerequisites for a note is by putting the card IDs of the prerequisites into a special field on the note, which leads to my worry: Will these card IDs always stay the same, even when exporting and importing the deck? I tried searching but I couldn’t really find anybody talking about it. If not, what’s a good alternative?

1 Like

Usually, yes. But if they’re imported into a collection where that note or card id is already used with a different guid, they’re given new ids.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.