<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?
6 respostas
You mean like this:
{!objLeadSite.Site__r.Company__r.Name}
<apex:image id="Logo" value="{!If(objLeadSite.Site__r.Company__r.Na.....?
If so, nothing was displayed on the page above the image.