请求代码,将大量的某一字段内容转移到另一个字段去 #414
Answered
by
poricaihong
poricaihong
asked this question in
Q&A
-
不小心将大量内容记到了错误的字段,现在想将文件夹中的全部某一字段的内容转移到另一个字段中,比如将“其他”的内容转移到“短标题”,请求给个快捷方式。 |
Beta Was this translation helpful? Give feedback.
Answered by
poricaihong
Nov 1, 2024
Replies: 1 comment
-
if (item) { |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
poricaihong
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
if (item) {
zo = require('Zotero');
extra = item.getField('extra');
item.setField('shortTitle', extra);
item.setField('extra', "");
}