Hey guys,
Got another tricky question for you, which I donât know how easy it is to solve, but it is proving to be a bit of a headache for our Malleus deck and the @Malleus-Maintainers and would love to hear if you guys have any potential solution for us!
Essentially, we have begun to crack down on copyright in our deck much more rigorously, and we realise although we donât really have that many cards on in our deck at the moment on it, we are unlikely to get permission to reuse âFirst Aidâ images, nor âOxford Handbookâ or âAMBOSSâ and therefore these fields ought to be deleted altogether. In addition, we want to rename our âeTG Completeâ field to âTherapeutic Guidelinesâ to reflect a change in the name of this resource, to which we are in the process of seeking permission to use content from. We also want to add 2 new fields called âExtra (Synced)â and âAdditional Resources (Synced)â to keep track of content we have copied across multiple cards (ie. tables) that syncs using the NoteSync plugin we have started experimenting with.
Hereâs the fields of our current notetype:
Hereâs the fields of our new prototype notetype that we want to ideally convert our cards to:
Attempt #1
Essentially what I tried to do (in a sandbox AnkiHub deck, so it didnât mess anything up on our actual Malleus deck) was:
- Sync a card using the current Malleus notetype
- Change the notetype of existing cards using the old notetype to the new notetype which involved using the âfieldsâ editor:
- Deleting the âFirst Aidâ, âAMBOSSâ and âOxford Handbookâ fields
- Added âExtra (Synced)â and âAdditional Resources (Synced)â to the new notetype
- Renaming the field titled âeTG Completeâ to âTherapeutic Guidelinesâ
- Update the BACK template HTML + STYLING CSS to reflect the changes in the fields (deleted removed fields, added new fields) and pushing all of these changes using the âDeck Managementâ features
- Resynced
This actually synced successfully, but it had several issues:
- The renamed field âTherapeutic Guidelinesâ was recognised by AnkiHub as a new field, rather than replacing the existing âeTG Fieldâ
- The supposedly deleted âFirst Aidâ, âAMBOSSâ and âOxford Handbookâ fields all remained on AnkiHub and therefore part of the notetype
The only successful change was the new âExtra (Synced)â and âExtra (Additional Resources)â fields were added.
Attempt #2
My next attempt was to try something different and instead of editing the notetype directly and syncing, was to keep the old notetype, syncronise, then add a new card with the new prototype notetype (and sync as a ânew notetypeâ), and then change over the old note-type to the new note-type using the Right click > Notes > Change note feature.
Unfortunately when I tried to resync once a card had already been synced on an old notetype once the change had been made to the new âprototypeâ it did not let me resync as it saw the same note-id and prevented the sync due to note-id conflicts. Presumably this is necessary to prevent issues whereby a sync of this sort would cause issues on AnkiHub whereby edit history of a particular field would be corrupted in the case where you merge field content from one âoldâ field to a ânew fieldâ, or lost altogether if you remove a field in its entirety.
Potential Solutions
The obvious easiest way around this is to create an entirely new AnkiHub deck and sync with the correct notetype from the start, but we obviously want to avoid this given our 1500+ subscribers. The other alternative I can see is if you were to delete literally every single card and resync with AnkiHub as duplicate cards with a unique note-ID - this however would absolutely ruin peopleâs progress on cards which is obviously suboptimal, and mean there would be 7000+ duplicate cards in the âAnkiHub deletedâ that users would have to manually get rid of. I also know you can essentially hide certain field content using HTML, but itâs still there in the browser and itâs definitely not very clean.
Obviously we would love there to be some feature in AnkiHub whereby change-note features are enabled to allow for safe deletion and renaming of fields without issues, however I imagine this is technically complicated. So I would like to request whether there could be some back-end way to allow for the notetype change we are trying to do, potentially by removing the existing sync with AnkiHub on cards altogether, then allowing us to make the change-note conversion and letting us resync the cards to AnkiHub again. I imagine this would wipe all past note change history and discussion/etc. but we probably wouldnât mind too much, as the benefits of our new notetype for our workflow would be immense and we likely wouldnât make any further big changes to our notetype moving forward.
Is this at all possible?
Cheers,
- Stapedius


