[Zotero 7] `attachSupplementary` in `hidden_preferences` is ignored
Related keywords: Web translators, hidden_preferences, `translators.attachSupplementary`
Platform: Win10, Ubuntu22.04
Zotero version: 7
The problem is that the zotero connector doesn't save supplemental files from scraping a webpage.
I realize, after testing in the Scaffold editor, the connector's advanced option `translators.attachSupplementary` in `hidden_preferences` [1] is always `false`. And I believe I have configured the web connector correctly as in the documentation [1].
I've checked on win10 machine and on a Ubuntu22.04.
Here is how I checked:
0. Modify `attachSupplementary` to be `true` following [1]
1. Go to the Scaffold editor in developer's tool of Zotero7 (under the guidance of [2])
2. Open the `Frontier.js` translator
3. Add `Z.debug(supplementOpts.attach);` or `Z.getHiddenPref("attachSupplementary");` after line 119 (Check it online here [3])
4. Run any test and check the output.
[1] https://www.zotero.org/support/preferences/hidden_preferences#translator_preferences
[2] https://www.zotero.org/support/dev/translators/coding
[3] https://github.com/e-zz/translators/blob/390066d6de67d29f58e9a1d9ad481f7ca780b47c/Frontiers.js#L119
Platform: Win10, Ubuntu22.04
Zotero version: 7
The problem is that the zotero connector doesn't save supplemental files from scraping a webpage.
I realize, after testing in the Scaffold editor, the connector's advanced option `translators.attachSupplementary` in `hidden_preferences` [1] is always `false`. And I believe I have configured the web connector correctly as in the documentation [1].
I've checked on win10 machine and on a Ubuntu22.04.
Here is how I checked:
0. Modify `attachSupplementary` to be `true` following [1]
1. Go to the Scaffold editor in developer's tool of Zotero7 (under the guidance of [2])
2. Open the `Frontier.js` translator
3. Add `Z.debug(supplementOpts.attach);` or `Z.getHiddenPref("attachSupplementary");` after line 119 (Check it online here [3])
4. Run any test and check the output.
[1] https://www.zotero.org/support/preferences/hidden_preferences#translator_preferences
[2] https://www.zotero.org/support/dev/translators/coding
[3] https://github.com/e-zz/translators/blob/390066d6de67d29f58e9a1d9ad481f7ca780b47c/Frontiers.js#L119