This discussion is archived
3 Replies Latest reply: Nov 14, 2012 6:43 PM by 970471 RSS

Interactive option list

Rajiv13435697 Newbie
Currently Being Moderated
We have a meta data field of type option list populated through schema view. The view contains long list of people (more than 1000) due to which it takes long to load the values.

Want to know is there a way this can be handled like:

Option 1 : Populate only top 10 records and load more if user says load more
Option 2: As soon as user key press the name it loads all user names starting with that character

Or if there is a better way to handle this situation

Thanks in advance.
Rajiv
  • 1. Re: Interactive option list
    970471 Explorer
    Currently Being Moderated
    An example of implementing autocomplete (option number 2) can be found here: http://bungbutan.wordpress.com/2012/08/31/oracle-webcenter-content-metadata-suggestion-list-using-jquery/

    Jonathan
    http://jonathanhult.com
  • 2. Re: Interactive option list
    Rajiv13435697 Newbie
    Currently Being Moderated
    Thanks for the help Jonathan. Option 2 may fail one of the validation, we are not forcing the user to choose one of the options appearing from the list. A user may have the option not to select any of the option and move forward. In a nutshell we have validation that selected person should be a valid person name. Can this be achieved from this option list?


    Thanks,
    Rajiv
  • 3. Re: Interactive option list
    970471 Explorer
    Currently Being Moderated
    You could add some custom JavaScript validation to the autocomplete/typeahead to ensure that a valid value is set.

    Here are a few more blog posts about autocomplete:
    https://blogs.oracle.com/ATEAM_WEBCENTER/entry/autocomplete_for_metadata_in_webcenter
    http://vedranstanic.wordpress.com/2011/12/01/making-cs-ootb-metadata-option-lists-autocomplete-and-multiselect/

    Jonathan
    http://jonathanhult.com

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points