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
38892 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
annap
over 7 years ago
Use a!imsgeField object and pass a!documentImage(ri!uploadedFile) as image parameter.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Reject Answer
Cancel
Reply
0
annap
over 7 years ago
Use a!imsgeField object and pass a!documentImage(ri!uploadedFile) as image parameter.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Reject Answer
Cancel
Children
0
Aswini
over 7 years ago
in reply to
annap
a!imageField(
label: "",
labelPosition: "ADJACENT",
images: {
a!documentImage(
document: ri!PP_Cdt_UserInput.ImgDoc
)
},
size: "STANDARD"
)
Error :
Could not display interface. Please check definition and inputs.
Interface Definition: Expression evaluation error at function a!imageField [line 386]: The image at index 1 in an image gallery component [label=“”] has an invalid value for “document”. “document” must not be null.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
annap
over 7 years ago
in reply to
Aswini
As per your error, the value is null in "ri!PP_Cdt_UserInput.ImgDoc", could you check the value and try or for testing use hardcoded value or constant.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel