Skip to content

Latest commit

 

History

History
90 lines (42 loc) · 1.35 KB

zotero-plugin-toolkit.extrafieldtool.md

File metadata and controls

90 lines (42 loc) · 1.35 KB

Home > zotero-plugin-toolkit > ExtraFieldTool

ExtraFieldTool class

Get/set extra field APIs.

Signature:

export declare class ExtraFieldTool extends BasicTool 

Extends: BasicTool

Methods

Method

Modifiers

Description

getExtraField(item, key)

Get extra field value by key. If it does not exists, return undefined.

getExtraFields(item, backend)

Get all extra fields

replaceExtraFields(item, fields)

Replace extra field of an item.

setExtraField(item, key, value)

Set an key-value pair to the item's extra field