Hello All, Does anyone have any experience with the a!pickerFieldCustom com

Certified Associate Developer
Hello All,
Does anyone have any experience with the a!pickerFieldCustom component? I'm using an expression that wraps an a!queryRecord call however using this as the suggestFunction returns all records regardless of input. However testing my query expression directly returns the filtered results as expected.

I'm only encountering this problem when using an expression as the suggestFunction - using a query rule for the suggestFunction works as expected.

Even more perplexing is that when I supply a fixed argument to the suggest function (eg: suggestFunction: rule!myQuery("test") returns no results at all when, again, testing the query function directly returns results as expected.

OriginalPostID-148922

OriginalPostID-148922

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Associate Developer
    Thanks Tyler and Conor however I already checked that and I am explicitly casting my result set to a datasubset before I return it to the picker component.

    In addition, the picker is showing all records regardless of what I type which indicates that the query is working and providing results in the proper format - just ignoring the filtering I am trying to reply. IE: No matter what I type the expression isn't receiving the value to search by - even when I hard code it as per my initial post.
Reply
  • 0
    Certified Associate Developer
    Thanks Tyler and Conor however I already checked that and I am explicitly casting my result set to a datasubset before I return it to the picker component.

    In addition, the picker is showing all records regardless of what I type which indicates that the query is working and providing results in the proper format - just ignoring the filtering I am trying to reply. IE: No matter what I type the expression isn't receiving the value to search by - even when I hard code it as per my initial post.
Children
No Data