I am using Image Field to display image on UI. Its working fine but Captions are

I am using Image Field to display image on UI. Its working fine but Captions are not working when i hovering mouse over the image.

See below my code:-


a!imageField( label:"Status"
                    images:a!documentImage(
                    document: a!iconIndicator( if(local!SP=0,"STATUS_OK",
                    if(or(local!SP=2,local!SP=4),"PROGRESS_PAUSED","STATUS_ERROR")
                    
                    )) ),
                    size:"ICON", caption: if(local!SP=0,"STATUS OK",
                    if(or(local!SP=2,local!SP=4),"PROGRESS PAUSED","STATUS ERROR")
                    
                    ))

OriginalPostID-140515

OriginalPostID-140515

  Discussion posts and replies are publicly visible

Parents
  • Caption should be in a!documentImage(). See below.

    = load(
    local!SP: 0,
    a!imageField(
    label: "Status",
    images: a!documentImage(
    document: a!iconIndicator(
    if(
    local!SP = 0,
    "STATUS_OK",
    if(
    or(
    local!SP = 2,
    local!SP = 4
    ),
    "PROGRESS_PAUSED",
    "STATUS_ERROR"
    )
    )
    ),
    caption: if(
    local!SP = 0,
    "STATUS OK",
    if(
    or(
    local!SP = 2,
    local!SP = 4
    ),
    "PROGRESS PAUSED",
    "STATUS ERROR"
    )
    )
    ),
    size: "ICON"
    )
    )
Reply
  • Caption should be in a!documentImage(). See below.

    = load(
    local!SP: 0,
    a!imageField(
    label: "Status",
    images: a!documentImage(
    document: a!iconIndicator(
    if(
    local!SP = 0,
    "STATUS_OK",
    if(
    or(
    local!SP = 2,
    local!SP = 4
    ),
    "PROGRESS_PAUSED",
    "STATUS_ERROR"
    )
    )
    ),
    caption: if(
    local!SP = 0,
    "STATUS OK",
    if(
    or(
    local!SP = 2,
    local!SP = 4
    ),
    "PROGRESS PAUSED",
    "STATUS ERROR"
    )
    )
    ),
    size: "ICON"
    )
    )
Children
No Data