I have a portal with multiple addresses for my customer. I want to have give them a button to press to send the address to the webviewer for mapping. Is this possible, if so how.
The default web viewer has a setup for Google Maps. Set up your portal to be a button that populates a series of variables with the necessary elements from the data on that portal row, then refreshes a Web Viewer with those values. Example:
"http://local.google.com/maps/place/" & $address & "," & $city & "," & $state & $zip &"/"
Just be sure to replace all spaces with "+" signs and you should be good to go.
you sure this works with $vars declared inside a script?
In the meantime, here's another take on this, using dynamic $$vars.
Yes, you are right; should have been $$vars.
As mentioned before, there is this:
Here is a link to a blog post by Aaron Giard. He is very well versed in the Google Mapping API.
Retrieving data ...