I'm new with Appian solution.
I'm trying to display an Icon in a link for each row in my record list.
This is the code I produced:
And this is the result, not really what I want
[@attributes=[@anyAttribute=[_cId:894355386587a9ecdef4ac8b655fcf5a], @nil=], label=[@attributes=[@anyAttribute=[_cId:f5463dfc5bbaba48a6f3b69c85a3e167], @nil=], icon=eye, iconId=f06e, altText=, caption=, flip=, size=, color=ACCENT, customSize=, actions=], labelPosition=ABOVE, instructions=, value=[@attributes=[@anyAttribute=[_cId:052dd425d6743c31d6829fae42b0ca51], @nil=], values=, actions=], valueAlignment=, actions=, helpTooltip=, accessibilityText=]
Is it possible to display an Icon ?
You need to invert your thinking and use an image field (set to the icon you want) and add a link to that field that is of the type you want (recordLink in this case), something like this:
Sorry, for asking this as I am new to Appian as well. Where is this code for documentImage added in the record type?
As per the discussion thread, flip the model in your head. Place an Icon on the User Interface and attach a link (of type a!recordlInk()) to it. If you're really stuck I can provide some sample code but have a try first. You'll need to refer to thse components:
IMHO, it would be best for us to steer people TOWARDS using Rich Text components with rich text icons for things like this, instead of *away*...
Well, it was more about the concept than the specific implementation. Yes, other sources of icons are available!
Discussion posts and replies are publicly visible
© 2020 Appian. All rights reserved.