You need to sign in to do that
Don't have an account?

Google Map Infowindow issue
Hi All,
I have developed a visualforce page which displays salesforce custom object records in the google map (which embedded by Javascript) as markers. I wrote the infowindow code for popping the infowindow with few field values and wrote a HTML button in the infowindow to redirect to the corresponding record.
But the issue is : When I login Salesforce app in my mobile and click on the button is not redirecting to the record properly in the app as we have HTML button with href="/"+recordID. I hope it must be : URLFOR with the apex:commandbutton. It's not possible in javascript. Please help me with a workaround to solve this problem.
Screenshot - Link (https://www.screencast.com/t/cYFyblHVcEE)
Thanks in advance!
I have developed a visualforce page which displays salesforce custom object records in the google map (which embedded by Javascript) as markers. I wrote the infowindow code for popping the infowindow with few field values and wrote a HTML button in the infowindow to redirect to the corresponding record.
But the issue is : When I login Salesforce app in my mobile and click on the button is not redirecting to the record properly in the app as we have HTML button with href="/"+recordID. I hope it must be : URLFOR with the apex:commandbutton. It's not possible in javascript. Please help me with a workaround to solve this problem.
Screenshot - Link (https://www.screencast.com/t/cYFyblHVcEE)
Thanks in advance!