• I have a script I run to transfer values from one field to another (no point in having a mind if you can't change it...)

    Select the conference papers, go Tools -> Developer -> Run JavaScript and copy and paste the code below and run.

    You will still have to update (or clear) the Place field afterwards.
    There are some scripts around to do that too.

    ```
    var selectedItems = ZoteroPane.getSelectedItems();
    var item = selectedItems[0];

    var fieldName = 'place';
    var newField = 'eventPlace';
    var fieldID = Zotero.ItemFields.getID(fieldName);
    var newfieldID = Zotero.ItemFields.getID(newField);

    for (let item of selectedItems) {
    // Proceed if an item is selected and it isn't a note
    if (item && !item.isNote()) {
    if (item.isAttachment()) {
    // find out about attachment
    }
    if (item.isRegularItem()) {
    // We could grab attachments:
    // let attachmentIDs = item.getAttachments();
    // let attachment = Zotero.Items.get(attachmentIDs[0]);
    let fieldValue = item.getField(fieldName);
    item.setField(newField, fieldValue);
    await item.saveTx();
    }

    }
    }
    ```
Sign In or Register to comment.