I am trying to implement a record picker component within a form layout. For some reason is not working the way it should be. After implementing the expression code below the search results appears to be "No results found" when I tried to search for something using the component. I have created a constant (cons!ERP_PROVIDER_RECORD) that points to the record type and a local variable to hold the selected records. What I need to do is to find a way to fetch a list of providers (which are already stored in the backend) so the user can pick them to complete the form.
Here is the expression code:
a!pickerFieldRecords( label: "Proveedores Seleccionados", labelPosition: "ABOVE", placeholder: "Escriba para seleccionar proveedores", recordType: cons!ERP_PROVIDER_RECORD, value: local!storedRecord, saveInto: local!storedRecord, validations: {} )
Please help to fix this issue.
Discussion posts and replies are publicly visible
One of the most common sources for a misbehaving record picker that I've seen is when the Record Title is missing, which defeats the type-ahead as there's no record title to display inside the picker.
It makes sense. How do I set up the Record Title?
Over in the Record Type, find the Record Title section, which displays an expressionable field. In that field, type rf! to get a list of available fields to use as the Record's title.
Got it! That fixed my issue. Thanks a lot Jim!
Glad that worked!