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
2423 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Hi, I'm using below code snippet to show an image and link
jegadeeswaran
over 9 years ago
Hi,
I'm using below code snippet to show an image and link to it on SAIL form
a!imageField(
label:"",
labelPosition:"ADJACENT",
images:a!documentImage(
document:cons! TEMPLATE,
link:a!documentDownloadLink(document:cons! IMPORT_TEMPLATE,label:"")
)
),
cons! TEMPLATE is of type document pointing to PNG image.
cons! IMPORT_TEMPLATE is of type document pointing to xls file.
I'm facing below error wile implementing this :
"Could not display interface. Please check definition and inputs.
Unexpected error in Image [label=]. Its configuration may be invalid."
Any Help is really appreciated!!!
Thanks
OriginalPostID-144832
OriginalPostID-144832
Discussion posts and replies are publicly visible
0
sikhivahans
over 9 years ago
Could you please trim the space between cons! and IMPORT_TEMPLATE (previously it's cons! IMPORT_TEMPLATE, actually it should be cons!IMPORT_TEMPLATE) and make a quick check?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
jegadeeswaran
over 9 years ago
While posting on forum I removed prefix related to project name. But there is no space.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 9 years ago
Exact code snippet was used by me by just replacing the constants with mine and it's working perfectly. Assuming that the constants are valid, it might be worth checking the following:
1. Contents in which the above imageField component is encapsulated.
2. Is there any other imageField in your form?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
jegadeeswaran
over 9 years ago
it's only one image field in form.
Same code is working for me as well in another environment(Appian 7.7) and not working on other(Appian 7.7, Hot Fix B)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 9 years ago
So far I have checked this code on 7.7 and 7.8 versions of Appian and it's working fine. If you are sure that there aren't any other problems in the areas which I suggested and the problem is because of the hot fix, it's better to pick up this with some one who is well versed with admin activities.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel