Skip to main content
Brian Sherman (CAPREIT LP) 님이 #Visualforce에 질문했습니다
We have a VF page that displays one company logo in a certain condition, and another in all others.  Code is below:

<apex:image id="Logo" value="{!If(objLeadSite.Site__r.Company__r.Name=="XXXX", "https://c.na24.content.force.com/servlet/servlet.ImageServer?id=0151a000000nGvu&oid=00D1a000000XXXX","https://c.na24.content.force.com/servlet/servlet.ImageServer?id=0151a000000nGvy&oid=00D1a000000YYYY")}" />

Now, when I land on this page from a related record that should match the Company Name, instead I am presented the "else" image.

What am I missing?
답변 22개
  1. 2016년 2월 23일 오후 8:33
    So the way this works is that autoreplies for inquiries go out - each has a link that passes the record ID back to the page as a parameter.