Brian Sherman (CAPREIT LP) a posé une question dans #Visualforce23 févr. 2016, 18:17Visualforce page conditional image not workingWe 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 réponsesTriTrier par dateTrier par ordre d’utilitéTrier par dateChargement de commentaires supplémentaires...Brian Sherman (CAPREIT LP)23 févr. 2016, 20:33So 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.
Brian Sherman (CAPREIT LP)23 févr. 2016, 20:33So 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.