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
8 subscribers
Views
3220 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Am using the grid feature in the form to show multiple values from the database/
nitishas
over 11 years ago
Am using the grid feature in the form to show multiple values from the database/datasource...now i have put a true/false input type(checkbox) in order to select that particular row in the table....
now the problem is I want to populate the selected row value into the next form...
...
OriginalPostID-40127
OriginalPostID-40127
Discussion posts and replies are publicly visible
Parents
0
ckindschi
over 11 years ago
To save someone else too many hours of work, I'm going to record how I finally got this to work. All variables mentioned are multiples. The first rule returns the values for the selections: displayvalue(true(),ri!arrayToSearch,ri!replacementArray,null). It is used with doforeach in node outputs of the form where the selection is made (doforeach("rule1",ac!selections,pv!authorLast_text) to save the lastname in the selected row to a new PV, selectedLast; nonselected rows have empty values in selectedLast. Second rule (=ri!input<>"") removes the empty values from selectedLast and is used in a script task following the selection form [filterlist("rule2",pv!selectedLast)]. Even though the first rule says to return null if not found, the empty values are not nulls and need to be removed by filterlist instead of filternulls.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
ckindschi
over 11 years ago
To save someone else too many hours of work, I'm going to record how I finally got this to work. All variables mentioned are multiples. The first rule returns the values for the selections: displayvalue(true(),ri!arrayToSearch,ri!replacementArray,null). It is used with doforeach in node outputs of the form where the selection is made (doforeach("rule1",ac!selections,pv!authorLast_text) to save the lastname in the selected row to a new PV, selectedLast; nonselected rows have empty values in selectedLast. Second rule (=ri!input<>"") removes the empty values from selectedLast and is used in a script task following the selection form [filterlist("rule2",pv!selectedLast)]. Even though the first rule says to return null if not found, the empty values are not nulls and need to be removed by filterlist instead of filternulls.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data