function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Goole Maps - Problem with "output" | Formular Field



i have created with a Formula Field an GoogleMaps Hyperlink:


Code: HYPERLINK("" & Street1__c & "%20" & CityName__c & "%20" & State & "%20" & PostalCode__c & "%20" & Country__c , IMAGE("/servlet/servlet.FileDownload?file=01530000001hbwB", "Google Map"))


The Problem is that, if there is no Adress information the Outputfield will show me an Link:


<a href="" target="_blank"><img src="/servlet/servlet.FileDownload?file=01530000001hbwB" alt="Google Map" border="0"/></a>


I would like to show me nothing if there is no Adress Information and if there is any Adress Information i would like to show me the GooleMaps Info.


I hope anyone can help me please:)







 i have tested this code at my end, its seems link did not break and image will appear after saving records if there is no address information.If you are handling this through code then you have to use string.split('"') methods to overcome this issue.