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
+1
person also asked this
people also asked this
Replies
12 replies
Answers
2 answers
Subscribers
10 subscribers
Views
10839 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
a!iconIndicator icons not displaying
surendrab
over 7 years ago
Hi ,
our icons are not displaying where a!iconIndicator is being used? Any pointers would be greatly appreciated
OriginalPostID-273151
Discussion posts and replies are publicly visible
0
Josh
Certified Lead Developer
over 7 years ago
Can you attach an example interface/expression rule and a screenshot?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ramakrishnak
over 7 years ago
Hi @surendrab .Please take a look into fallowing link:
docs.appian.com/.../Appian_Icons.html
if still not resolve the issue. please attach snippet of your code
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
aloks0189
Certified Lead Developer
over 7 years ago
@surendrab if the link referred by @Rama did not help you, then can you share the code which you have written to display the iconIndicator
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Rahul Gundu
over 7 years ago
@surendrab, Please go through the below example. It'll help.
docs.appian.com/.../System_Functions.html
a!iconIndicator should use inside a!documentImage() in imageField or in PagingGrid.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
surendrab
over 7 years ago
Here is the code and the screenshot:
a!richTextDisplayField(
value:{
a!richTextImage(
image:a!documentImage(document:a!iconIndicator("ADD"))
),
a!richTextItem(text:"This is Text")
}
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Josh
Certified Lead Developer
over 7 years ago
A few thoughts: 1. Have you tried clearing out the browser cache or loading the interface in a different browser? 2. What happens when you switch the icon indicator to a different icon? 3. What happens when you upload a custom icon and set the image to that? ex. a!documentImage(document: cons!CONSTANT_TO_YOUR_UPLOADED_ICON)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
aloks0189
Certified Lead Developer
over 7 years ago
@surendrab as i can see in above attached screen, you are trying to show the image in a gridField,
So why don't you go for a!gridImagecolumn() instead of using a!richTextDisplayField(), is there any specific reason?
You can simply use the following, which can work for you.
============================================================
a!gridImageColumn(
size: "ICON",
data: a!documentImage(document:a!iconIndicator("ADD"))
)
============================================================
Please let me know, if your requirement is something different
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
aloks0189
Certified Lead Developer
over 7 years ago
typo image or an icon
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Rajasekhar Pamidipati
A Score Level 2
over 7 years ago
Hi Surendrab,
richtext will not work in grid columns, If you want to show icon with text in your grid then you have to go with two columns for one value. it is like one column for icons / images and another for text content.
example: {
a!gridImageColumn(
/* Icon or images */
),
a!gridTextColumn(
/* Text value repect to icon/image */
)
}
In this case don't give label for image column so that it looks good and also solve your problem
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ranveerr
over 7 years ago
Hi Surendrab,
As per above comments a!richTextdisplayField or a!richTextImage will not work in a!gridField(),
You need to use a!gridImageColumn() under columns, this can be iterate throught a!applyComponent()
For your requirement the code should be
a!gridImageColumn(
label: "Status",
size: "ICON",
data: a!applyComponent(
function: a!documentImage(
document: _,
),
array: a!applyComponent(
function: a!iconIndicator(_),
array: "ADD"
)
)
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
>