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
7 subscribers
Views
2482 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
I have a SAIL form, which is used by the Start Form, as well as User Input Task
guozhangy
over 10 years ago
I have a SAIL form, which is used by the Start Form, as well as User Input Task (so the form can be edited later). The SAIL Form has a fileUploadField, and the uploaded document is written to a PV. The fileUploadField works in Start Form, the uploaded document is saved the Process Variable. But when I went to Edit task, I tried to upload different document, but the PV that holds the document still kept the original value (from the start form), while the value from other text fields are saved. Here is the code snippet:
1. SAIL form (upload field only) :
a!fileUploadField(
label: "Select file to upload",
instructions: "Any format is acceptable.",
required: true,
target: ri!tempFolder,
value: ri!fileContent,
saveInto: ri!fileContent
)
2. Invoke the SAIL form (from Start Form and User Input Task):
rule!display_form(pv!fileContent)
3. Both ri!fileContent and pv!fileContent are document type....
OriginalPostID-137678
OriginalPostID-137678
Discussion posts and replies are publicly visible
Parents
0
guozhangy
over 10 years ago
Thanks, it works. After your post, I went to SAIL Form tutorial, it mentioned using ac! variable for managing the changing data, but I missed that. That section should be emphasized.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
guozhangy
over 10 years ago
Thanks, it works. After your post, I went to SAIL Form tutorial, it mentioned using ac! variable for managing the changing data, but I missed that. That section should be emphasized.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data