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
8 subscribers
Views
2144 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Hi - While changing value using a!save(), I see different output for a!buttonWid
rajeshs
over 8 years ago
Hi - While changing value using a!save(), I see different output for a!buttonWidget() and a!buttonWidgetSubmit(). Isn't it a weird behaviour? But, I am facing this issue. itemsCart is an array of defined CDT where vehicle is a field. When I code inside a!buttonWidgetSubmit() then value is coming as repeated (which is equal to number of records in itemsCart). But, I am getting correctly when I put this code inside a!buttonWidget(). Please find the attached code. I have given sample value as well. Please share your thought. Thanks.
Code.txt
OriginalPostID-167232
OriginalPostID-167232
Discussion posts and replies are publicly visible
Parents
0
rajeshs
over 8 years ago
First create CDT which has fields id, mfr, part, vehicle. Data type of these fields would be Text. Define ri!itemsCart as input which is Array of type CDT. Attached is the code. I clearly see the difference in output between a!buttonWidgetSubmit() and a!buttonWidgetSubmit(). My curiosity is saveInto should work exactly in same way but it is not, why?
Code.txt
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
rajeshs
over 8 years ago
First create CDT which has fields id, mfr, part, vehicle. Data type of these fields would be Text. Define ri!itemsCart as input which is Array of type CDT. Attached is the code. I clearly see the difference in output between a!buttonWidgetSubmit() and a!buttonWidgetSubmit(). My curiosity is saveInto should work exactly in same way but it is not, why?
Code.txt
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data