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
2439 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
I have a dashboard where I'm using the file upload field function for the us
robbier
over 9 years ago
I have a dashboard where I'm using the file upload field function for the user to select a local file and this populates a local variable. Later on in the form I have a button widget where I then take this local document value and run it through another function. Unfortunately it seems while the document variable is getting a value the document itself isn't "committed" into the Appian CMS and this document is not actually available for other functions in the same form. Is this expected behaviour or is there something else I need to do? Snippet of my SAIL code below:
=load(
local!document,
local!target: cons!MY_TEMP_FOLDER,
..
..
a!fileUploadField(
label: "Choose File",
labelPosition: "ADJACENT",
saveInto: local!document,
value: local!document,
target: local!target
)
...
...
a!buttonLayout(
primaryButtons:{
a!buttonWidget(
label:"Process",
disabled:if(isnull(local!document),true(),false()),
...
OriginalPostID-148018
OriginalPostID-148018
Discussion posts and replies are publicly visible
Parents
0
sikhivahans
over 9 years ago
@robbie Hi, until and unless the form is submitted, a temporary document id is maintained. The same is mentioned in the documentation under the file upload component.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sikhivahans
over 9 years ago
@robbie Hi, until and unless the form is submitted, a temporary document id is maintained. The same is mentioned in the documentation under the file upload component.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data