Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Suggested Answer
+5
person also asked this
people also asked this
Replies
22 replies
Answers
8 answers
Subscribers
12 subscribers
Views
38899 views
Users
0 members are here
SAIL Interface
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
How we can display uploaded file in an interface?
Aswini
over 7 years ago
How we can display uploaded file in an interface?
Discussion posts and replies are publicly visible
Top Replies
rameshb851
over 5 years ago
in reply to
kowsalyav
+2
A Score Level 1
Hi Aswin a!linkField( label:"Upload Documents", labelPosition:"ABOVE", links:{ a!forEach(items:local!Docs.appiandocid, expression:a!documentDownloadLink( document:fv!item, label:document(documentId:fv…
Ravi Roshan
over 7 years ago
+1
suggested
a!imageField( label: "Document", labelPosition: "ADJACENT", images: { a!documentImage( document: a!iconIndicator( icon: "DOC_GENERIC" ), link: a!documentDownloadLink( document: todocument…
Ravi Roshan
over 7 years ago
in reply to
Ravi Roshan
+1
Instead of 800835, please use your variable name.
Parents
0
Harsha Sharma
Certified Lead Developer
over 7 years ago
I would suggest you to have a "Upload" button next to the file Upload field. It should be a submit button. So the scenario is user selects a file then click on 'Upload". In the process after the UI node have an XOR to check button value. If it is 'Upload' go back to UI else move forward, indicating the form is submitted. Your SAIL should have a!documentDownloadLink() code inside with() so that when the process comes back to UI after upload you can see the document using the permanent doc ID that you pass from the process to UI. The activity chaining plays vital role here. The user will stay at the same page still the process will proceed. Hope it helps.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Reject Answer
Cancel
Reply
0
Harsha Sharma
Certified Lead Developer
over 7 years ago
I would suggest you to have a "Upload" button next to the file Upload field. It should be a submit button. So the scenario is user selects a file then click on 'Upload". In the process after the UI node have an XOR to check button value. If it is 'Upload' go back to UI else move forward, indicating the form is submitted. Your SAIL should have a!documentDownloadLink() code inside with() so that when the process comes back to UI after upload you can see the document using the permanent doc ID that you pass from the process to UI. The activity chaining plays vital role here. The user will stay at the same page still the process will proceed. Hope it helps.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Reject Answer
Cancel
Children
No Data