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
6 replies
Subscribers
7 subscribers
Views
2312 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Hello, I am working on a project and I want to save a list of values into an arr
patrickx
over 9 years ago
Hello, I am working on a project and I want to save a list of values into an array from a form. In this form, the user has to type the values with each value separated by a semicolon. Then I want to save this list into an array that is a value in a CDT. Is that possible?
OriginalPostID-165535
OriginalPostID-165535
Discussion posts and replies are publicly visible
0
abhi.jana
Appian Employee
over 9 years ago
You can do a split() at the ';' that would return the values as as array of text.
forum.appian.com/.../Text_Functions.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
patrickx
over 9 years ago
Thank you, but when I'm trying to save that value I can't choose the array of the CDT. So what can I do for that?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
abhi.jana
Appian Employee
over 9 years ago
Is the CDT element that you're attempting to save into, of type text and is a multiple?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
patrickx
over 9 years ago
yes it is
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
abhi.jana
Appian Employee
over 9 years ago
Perhaps you're trying to save the value from a form directly into a pv? The value needs to be saved into a node input (text array) which in turn saves into the pv's (CDT) field.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
vinitl522
A Score Level 2
over 9 years ago
Use Split function and then same array values in the CDT.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel