The attached sketch shows what I’m looking for.
I want a certain field (not the same one) to have the same value as another from a different card.
I know that initially this can be done manually. But as this field will be edited later it is essential that the link is automatic.
Any solutions?
I’ve been working on an addon and using it myself for exactly this kind of thing: https://ankiweb.net/shared/info/1530249436
I’m still occasionally making changes that breaks the saved copying configs so I wasn’t going to release on AnkiWeb yet. But I guess if you’re fine with using a roughly built addon, then go ahead. I may change the UI a lot so I’m probably not going to make detailed instructions yet since I don’t want to re-write them many times.
What you want is
- Across notes
- Figure out how you can search for the source note (Note 1 in your picture) using some field in the destination note (Note 2).
- You may need to add some new information to your notes that provides this linking information. You can possibly use the addon to do this too, through Anki’s existing regex and search and replace would work too.
- Going by your picture, Field_D is the destination field, Field_B is the source field, So your copy text is simply
{{Field_B}}
In your use case, you’d want to trigger the copying whenever the source note’s Field_B is edited. Currently the way things are built is so that copying can be triggered based on things happening to the destination note. So, for now you’d have to manually run the copy definition when you make edits. I also want the ability to flip this around so eventually I’ll be making this possible.
Thanks for the reply.
I’ll have a look at your addon to see how it would fit.
I had a nice weekend of coding and got the copy direction reversal feature done. So now you and I both can get more out of this addon.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.