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
4 replies
Subscribers
7 subscribers
Views
1875 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Can below code be optimized further or written without load()? =load(
praveenj
over 9 years ago
Can below code be optimized further or written without load()?
=load(
/* ri!savedValue is a Text type */
local!tempLocalVariable: if(rule!APN_isBlank(ri!savedValue), {}, split(ri!savedValue, ";")),
a!checkboxField(
label: "Sample Checkbox",
choiceLabels: {"a1","b2"},
choiceValues: {"a1","b2"},
value: local!tempLocalVariable,
saveInto: ri!savedValue
)
)
PS: ri!savedValue cannot be changed to multi value text.
Thanks,
Praveen
OriginalPostID-140016
OriginalPostID-140016
Discussion posts and replies are publicly visible
Parents
0
praveenj
over 9 years ago
Cool, thank you. trim() is what I was missing as there is a space added in between the array elements along with the ";".
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
praveenj
over 9 years ago
Cool, thank you. trim() is what I was missing as there is a space added in between the array elements along with the ";".
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data