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
5 replies
Subscribers
7 subscribers
Views
2673 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hello, I have a question on fileUploadField: Once I select a file to uplo
maheshp664
over 9 years ago
Hello,
I have a question on fileUploadField: Once I select a file to upload, how can I access the name of the file being uploaded? I need to check if file with same name has already been uploaded earlier. An example would be appreciated.
OriginalPostID-140769
OriginalPostID-140769
Discussion posts and replies are publicly visible
Parents
0
maheshp664
over 9 years ago
I believe you cannot access the properties of the temporary document...I tried the following....
saveInto: { local!uploaddoc, a!save(local!fileName,document(local!uploaddoc,"name"))}
and...got this error....
Error evaluating function 'document' : com.appiancorp.suiteapi.common.exceptions.InvalidDocumentException: Document Does Not Exist or has been Deleted
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
maheshp664
over 9 years ago
I believe you cannot access the properties of the temporary document...I tried the following....
saveInto: { local!uploaddoc, a!save(local!fileName,document(local!uploaddoc,"name"))}
and...got this error....
Error evaluating function 'document' : com.appiancorp.suiteapi.common.exceptions.InvalidDocumentException: Document Does Not Exist or has been Deleted
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data