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
3 replies
Subscribers
9 subscribers
Views
1476 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
SAIL: "Save Changes" link. I'm building a series of sai
adamm
over 10 years ago
SAIL: "Save Changes" link.
I'm building a series of sail forms, and we are wanting to use the "Save Changes" feature. The form is built from expression rules, and the portion in question is called in a nester manner (ie, top_form.sail calls choose_section_to_display.sail which calls display_section1.sail)
There are fields populated by rule inputs (ri!thevalue in the top_form.sail) and those are maintaining the value entered when the "save changes" link is used, then the form exited and returned to via "Tasks".
The values in the "display_section1.sail" are also populated by a rule input, have a validation, and save as ie:
a!textField(
label: "Stock Certificate #",
readOnly: false(),
required: false(),
value: ri!recordcd,
instructions: "Char (30)",
validations: if(
len(
ri!recordcd
) <= 30,
null,
"Enter no more than 30 characters"
),
saveI...
OriginalPostID-120234
OriginalPostID-120234
Discussion posts and replies are publicly visible
0
adamm
over 10 years ago
...nto: ri!recordcd
)
But those values are not being preserved when entered, "save changes" clicked, the form exited, and then returned to.
I have tried a number of variations on the data passing, but no luck so far. (I really need a better grasp of variable scoping in the SAIL world)
Any help would be much appreciated!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike Cichy
Appian Employee
over 10 years ago
Adam, how are you populating the value of ri!recordcd? Please make sure you pass an ACP you created in node inputs.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
adamm
over 10 years ago
That's got it! buried in the other ac variables, the one that mattered was being passed in directly from the PV.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel