http://forums.otterhub.org/viewtopic.php?f=60&t=17033

Implementation to retrieve external data and populate options for a Drop
Down (Select) list
1) create a .pl file (provided) though you will need to specify what,
exactly, you seek, and where it is.
2) jquery script where you want the options list to post (provided), though
you may need to include jquery on the appropriate page.

This implementation:

   - doesn't obey ACL out of the box, though you certainly can add the
   appropriate API
   - doesn't, in itself, handle dependent fields, though that's not a fault
   of the code, it's just that I can't know what you want to depend on what.
   - is demonstrated client-side to achieve the list dynamically, but if
   you want to use it server side, I don't see why you couldn't call the same
   file internally.
   - relies on OTRS API to do the heavy lifting of database connection, etc.
   - has a commented json skeleton in case you are using something like a
   fuzzy search.
   - would appreciate feedback. :)

Thanks!

Hope it helps someone!
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Reply via email to