Filter results – Autocomplete

Forums Autocomplete Filter results – Autocomplete

This topic contains 8 replies, has 3 voices, and was last updated by  Alexander Bautz 1 year, 3 months ago.

  • Author
    Posts
  • #9279

    lzuhuo
    Participant

    Hello Alex,
    In this solution, is it possible to filter out suggestions according to a list view, or parameter (query)? Thanks

  • #9299

    Alexander Bautz
    Keymaster

    Sorry, but this is currently not possible.

    Alexander

  • #11464

    Dirk Loehn
    Participant

    Hello Alexander, could you see adding this to the Autocomplete solution any time soon?
    That is, beeing able to set a (filtered) list view as the base for an autocomplete search?

    spjs.ac.textField({
    “applyTo”: “cmPartner”,
    “helpText”: “Vertragspartner auswählen…”,
    “listGuid”: “FB46E97C-CAB4-4537-A566-4DBE0FD866E3”,
    “viewGuid”: “…”, ???

    Alternatively, would it be possible to add a function call to do a custom check of a list entry before it is added to the selection?

    spjs.ac.textField({
    “applyTo”: “cmPartner”,
    “helpText”: “Vertragspartner auswählen…”,
    “listGuid”: “FB46E97C-CAB4-4537-A566-4DBE0FD866E3”,
    “validationCallbackFunction”: “…..”,

  • #11539

    Alexander Bautz
    Keymaster

    Hi,
    I have looked at it, and will post an updated version over the weekend that lets you set a “filterCAML” in the argument object to pre-filter the list. I have not set it up so you can pull the CAML directly from a list view as this would require an additional query to be run on form load.

    Alexander

  • #11626

    lzuhuo
    Participant

    Hi Alex
    This is gonna be very helpful when it is ready. Thanks

  • #11650

    Dirk Loehn
    Participant

    Looking forward to testing it. I guess this is really helpful for anyone in Need for a dynamic lookup list, e.g. only looking up projects that are currently active, or looking up vendors marked as approved etc.
    Thanks!!!

    Dirk

  • #11652

    Alexander Bautz
    Keymaster

    Sorry for the delay – I’ll try to get it released later tonight.

    Alexander

  • #11700

    Dirk Loehn
    Participant

    Hello Alex, we downloaded and tested the updated version, and it works like a charm. Thanks a lot!!!

    Dirk

  • #11712

    Alexander Bautz
    Keymaster

    Thank you for the feedback – I’m glad it worked.

    Alexander

You must be logged in to reply to this topic.