If you want to have feature for locating the customer/vendor addresses on Google map , than please have a look below ,
On Address form i have added a button Google Map , if clicked it will open Google Map inside AX!
For Having fun , select any record and change the address information and click on Google Map
Enjoy Learning AX !!!!
What u have written in clicked method of "Google Map" button
ReplyDeleteThis is the code needs to be written in the button click method:
ReplyDeletevoid clicked()
{
super();
smmUtility::mapIt(address);
}
_________________________________________
To view in google map the following changes needs to be done in the class -> SmmUtility -> mapIt (method)
Change Instead of
#DEFINE.MapURL('http://maps.live.com/default.aspx?where1=\%1')
To
#DEFINE.MapURL('http://maps.google.com.au?=\%1')
Hi, can you share your project to me? I'm trying to learn to integrate Google map to AX but I failed many times.
ReplyDeleteIf you can share you code please email me at thanh.hung.r@gmail.com.
Many thanks
Hi, can you share your project to me? If you can share you code please email me at trulla@hotmail.com.
ReplyDeleteMany thanks!