Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
7 replies
Subscribers
9 subscribers
Views
5744 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Max limit for pickerFieldCustom
ajinkyab277
Certified Lead Developer
over 8 years ago
Is there any best practice around pickerFieldCustom for max limit for label and identifier. I have more than 1000 row at the movement in a database . I am looking design best practice to implement pickerFieldCustom with large data sub set.
OriginalPostID-252088
Discussion posts and replies are publicly visible
0
Arun Theja Muthyalu
Certified Lead Developer
over 8 years ago
Below points might improve the performance while dealing with large DataSubSet;
1. In the 'suggestFunction' a condition something like 'Hit DB only if the character count in the search string is greater than or equal to a fixed number' (say 3). This reduces the number of records that return from DB as it uses more characters to match. When the character count is less than 3, return an empty array and include a message something like 'Type in atleast 3 character to search' for 'instructions' attribute of the picker field.
2. Indexing the column in DB which is used to compare might improve the performance.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Stefan Helzle
A Score Level 3
over 8 years ago
Depending on the actual use case I suggest to limit the number of rows is the suggestion list to between 10 and 20.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Arun Theja Muthyalu
Certified Lead Developer
over 8 years ago
Regarding the Max Limit for Labels and Identifiers, I would agree with stefanh791, as anything more than that number will overload the UI. Just in case if user wants to see more number of suggestions, a selectable grid with filter might fulfil the need.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ChristineH
Certified Lead Developer
over 8 years ago
Agree with the selectable grid with filter in this case. We have found that when the options available to users become too large that they need (a) more information to explain each option which can be solved with more columns in a grid and/or (2) filter/search fields to limit the options.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
vinayakb
over 8 years ago
I had a similar use case, where in I had to fetch from 2000 records. I opted for selectable grid based on the search results, by providing search results below the grid. Appian also recommends to use custom picker only if it is less than 100.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ajinkyab277
Certified Lead Developer
over 8 years ago
Thanks all, I will give a try with selectable grid with filter.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
monikab900
A Score Level 1
over 6 years ago
in reply to
Arun Theja Muthyalu
is there is an option access the search string in pickerfieldcustom
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel