Skip to main content
Megan Hooser (Salesforce) 님이 #Data Management에 질문했습니다
Trying to get an imagine field to show account status, Forumla is

 

 

IF( Red__c > 0, IMAGE("/img/msg_icons/error32.png"),

 

IMAGE("/img/msg_icons/confirm32.png")

 

)

 

Can anyone help with why I'm gettng a syntax error:Incorrect number of parameters for function 'IMAGE()'. Expected 2, received 1?

 

Been playing with this simple formula for an hour and can't get it to work!

 

 
답변 4개
  1. 2016년 8월 30일 오후 1:58
    Hi Megan,

     

    Please try the below

    IF(

    Red__c > 0,

    IMAGE("/img/msg_icons/error32.png", "greater than 0"),

    IMAGE("/img/msg_icons/confirm32.png", "less than 0")

    )

    the syntax of image is IMAGE(image_url, alternate_text)

     

    you are missing he alternate text in your formula

     

     
0/9000