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
5 replies
Subscribers
11 subscribers
Views
2188 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Data and Records
I'm reworking some rules to use the new dropdownField component instead of d
Tim
Certified Lead Developer
over 10 years ago
I'm reworking some rules to use the new dropdownField component instead of dropdownFieldByIndex
The record dashboard contains 5 of these field types.
The page used to take <2 seconds to display when using the ByIndex component.
It's now taking >20 seconds with the new version. Is anyone else experiencing these issues?...
OriginalPostID-96066
OriginalPostID-96066
Discussion posts and replies are publicly visible
0
Matt Hilliard
Appian Employee
over 10 years ago
Tim, I've used both versions of the dropdown component and haven't noticed any performance difference, but I typically have fairly small (<10) numbers of choices. How big are your choice lists? Also, when you reworked your rules, is it possible you might have caused query rules or some other sort of data fetch to happen more times? That's probably the number one reason people experience slowdowns in rules.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Tim
Certified Lead Developer
over 10 years ago
My lists can be as long as 100 rows but I'm not using query rules. The data persists in XML form and I use xpathsnippet to extract the values. I was being generous with the 20 seconds bit, it's more like 45! I've had to revert to the ByIndex version which is a shame as more expressions are required for the index and saveInto parameters.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Tim
Certified Lead Developer
over 10 years ago
Unfortunately this seems to be caused by a!applyComponents which now has to be used. If I render the item on it's own it peforms perfectly, a!applyComponents appears to be added a huge overhead to it.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Matt Hilliard
Appian Employee
over 10 years ago
Have you tried running the dropdownFieldByIndex with a!applyComponents? I just tested a dropdown with 100 choices and your first instinct was right, dropdownField is quite a bit slower than dropdownFieldByIndex when there are a lot of choices (5 seconds vs. .1 second for a single dropdown).
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Tim
Certified Lead Developer
over 10 years ago
Hi Matt, yes dropdownFieldByIndex runs perfectly fine within a!applyComponents
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel