Closed dstillman closed 6 years ago
Okay, I working on this. @dstillman Can you give me a hint how to generate an item template? I only have seen this function in the Web API...
Probably Zotero.ItemFields.getItemTypeFields(itemTypeID)
+ Zotero.ItemFields.getName(fieldID)
plus some hard-coded additions (for attachments
, etc.)
Seems like we should have a button that lets you select an item type and get an object literal with the fields for that item type. This would more closely mimic what the framework (which is being removed from Scaffold) provides and, even for translators with more complicated logic, make it easy to see the available fields.