a!iconIndicator("REMOVE") is not returning particular image.

Certified Lead Developer

I am using following code to display icon but somehow this code is working intermittently for different icons,

For Ex: If I chose to return "REMOVE" icon then not able to render image  

a!imageField(

label:"Remove",
labelPosition: "ADJACENT",
size: "ICON",
images: a!documentImage(
document: a!iconIndicator(
icon:"REMOVE"
),
altText: "Remove",
caption: "Remove"
)
)

 

If I choose to return "ADD" icon then able to render image.

 

a!imageField(

label:"ADD",
labelPosition: "ADJACENT",
size: "ICON",
images: a!documentImage(
document: a!iconIndicator(
icon:"ADD"
),
altText: "ADD",
caption: "ADD"
)
)

Thanks in advance.

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to Justin Watts
    @Jaustin Watts I have done the browser debugging (Google Chrome) and it is giving "Failed to load resource: the server responded with a status 0;maxWidth=40;maxHeight=40 of 404 (Not Found)". It seems that the respective image is missing from the desired location.
    And this REMOVE snippet is working on all other environments except prod environment.
Children
No Data