Hi Christopher,

What version of Invenio are you using?

In recent versions, the autocomplete-by-hotkey infrastructure has rotted
a bit I'm afraid, and I'm not sure if it *can* work.  But if I recall
correctly, it should be backed by bibknowledge dynamic KBs which get
created on the fly, so for an intended kind of autocomplete, you
shouldn't have to very much configuration.

Looking at the source of
invenio/modules/bibedit/lib/bibedit_engine.js:2669 (function
onAutosuggest), it looks like the set of tags used to specify which MARC
fields are autosuggest and autocomplete are configured in
CFG_BIBEDIT_AUTOSUGGEST_TAGS and CFG_BIBEDIT_AUTOCOMPLETE_TAGS_KBS and
have something to do with CFG_BIBEDIT_KEYWORD_TAG.

So if you can get it to work, it will probably be through the
interaction of those variables and the bibknowledge subsystem.
Bibknowledge is reasonably well documented - the regression tests, in
particular, elucidate the API reasonably well.

I hope this helps,
Joe

On 06/16/2011 01:44 AM, Christopher Dickinson wrote:
> Hello,
> 
> Am I correct that the auto-suggest functionality in BibEdit is launched with 
> Ctrl-Shift-a or Ctrl-9 ? (I didn't find it in the Help page 
> http://invenio.lo/help/admin/bibedit-admin-guide#2, only in 
> http://invenio.lo/js/bibedit_keys.js.
> 
> Question #1: Which fields allow this functionality? 100 seems to, are there 
> any 
> others?
> 
> Question #2: How do I set up invenio for these fields (e.g. 100) to offer me 
> suggestions when I click ctrl-shift-a? Currently I only get an alert saying 
> "No 
> suggestions for your search term {...}".
> 
> Thanks for your help!
> 
> -- 
> Christopher Dickinson
> Intern at IT-UDS-CDS
> 




Reply via email to