I have a dropdownfield whose choiceValue are from an api, the records from api are more than 5000, but pagingInfo only allows 5000 at max for batchSize, how can I do to put all choiceValue in this dropdownfield?
Discussion posts and replies are publicly visible
Not!
If you need to support a user selecting items from > 5k elements, please implement a custom picker field that queries the API in the background.
fxzrqjzztrmy said:I have a dropdownfield whose choiceValue are from an api, the records from api are more than 5000
IMHO if the choice values count is more i go with picker fields.
And I suggest you to use filters on source rather than getting all the data
Got it, thank you, will look into custom picker field
A custom picker can be a challenge. Make sure to perform the actual data fetching inside the suggest function, forwarding the user search text to the API to return only matching items.
For handling such a large dataset, it is recommended to use a custom picker.
Additionally, it is advisable to begin entering a few characters, and only after, for example, three characters have been inputted, should the suggestion function be executed.
How can I set that limit?
You run your API only when user enters atleast 3 characters
Try this SAIL recipe to switch between dropdown and picker fields conditionally.docs.appian.com/.../recipe-configure-an-array-picker-with-a-show-all-option.html