Discussions
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Join us
Sample Script: Google Maps Mashup on Customer Page
Hello all,
Find attached sample code for integrating a Google Map into your NetSuite account. It is a simple mashup that adds a tab to the customer page in view and edit mode and displays the customer's billing and shipping addresses in a scrollable/zoomable Google map.
For those of you who are curious, the mashup was built using a beforeload User Event script (for adding the Google Map UI to the customer page) and a Suitelet (for generating the map using the Google Map API). The latter script type is only available in version 2007.0 accounts.
For anyone intimidated by the script, I plan on bundling this and allowing for some end user configuration (such as API key, show multiple addresses, positioning, etc...). This will make it relatively easy to install and setup.