cancel
Showing results for 
Search instead for 
Did you mean: 

Auto suggest meta data

hotnuts21
Champ in-the-making
Champ in-the-making
We have extended the meta data model to have a lot of custom meta data. Two of these fields are Location - which is a category selection popup box. This is a very strict location list according to a gazzateer.
The other is Alt location, which is for all other spellings of the place name or historical names. There are a lot of these are most places have bilingual names.

In our current database we have matched just about every single Alt location to a specific name in the gazateer. So what I would like to do, is when someone selects the location, it either auto fills or auto suggests all the possible alt locations when you get to that input box.

Has anyone done anything like this before, or can anyone think of a fairly simple way to do this?

We are using Enterprise 3.2.

Paul
3 REPLIES 3

zaizi
Champ in-the-making
Champ in-the-making
This is very easy to do within Alfresco Share (we've done this already). There is YUI control for this. http://developer.yahoo.com/yui/autocomplete.

Alfresco Explorer is another matter. Should still be possible to do.

Ainga

hotnuts21
Champ in-the-making
Champ in-the-making
This is in share so that looks good.

We are very new to the development of Alfresco so if anyone has any pointers to articles that show how to utilise YUI in share, that would be helpfull. We have not looked at share much yet.

Thanks for the tip zaizi

gavinc
Champ in-the-making
Champ in-the-making
Hi,

Although targeted at 3.3 the Forms Development Kit (http://wiki.alfresco.com/wiki/Forms_Development_Kit) may be useful to you as it includes an example autocomplete control (which uses the YUI autocomplete widget). It currently looks up suggestions from Google or Yahoo but you could easily adapt it for your own use.

The FDK itself requires 3.3 but there's nothing in the autocomplete example that won't work in 3.2.

Hope that helps!