Hi,
In addon development, does anyone know how I can access the Card_Type given a card object/id?
I have been able to get note type easily with code such as the following:
mw.col.get_card(card_id).note_type()['name']
but I have not had such success with Card_Type.
abdo
2
card.ord gives you the template index, which you can then use to access the template in the notetype[‘tmpls’] list.
2 Likes
system
Closed
3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.