Request Geocoordinates with IP address through AJAX call

Request Geocoordinates with IP address through AJAX call

  
Hello, How do I accomplish this. I can't figure out how to do this, this is what i have
Entity
    ->IPAddress
   ->Longitude
    ->Latitude

When I save in a entity, where I have access to the IP, I want to follow this:
http://jquerybyexample.blogspot.com/2012/09/get-ip-address-information-using-jquery.html
In order to request geocoordinates and assign them for my entity, can someone show step by step how to do this
Kevin Mohamed wrote:
Hello, How do I accomplish this. I can't figure out how to do this, this is what i have
Entity
    ->IPAddress
   ->Longitude
    ->Latitude

When I save in a entity, where I have access to the IP, I want to follow this:
http://jquerybyexample.blogspot.com/2012/09/get-ip-address-information-using-jquery.html
In order to request geocoordinates and assign them for my entity, can someone show step by step how to do this
Hi there Kevin!

I've just created a component that does what you want, and it's based on the plugin you have mentioned.

Check it out on forge!
http://www.outsystems.com/forge/388/jqiplocation-jquery-ip-location-plugin/

Publish the solution in your server, then open the example screen, there you have two option of use, you can make an ajax call using jQuery that prints the result on page, or you can make an ajax call that stores the result in the database. I've tried to keep it simple as possible, so people can understand what's going on.

Let us know if this helps you! And don't forget, if you have any question don't be afraid to ask!

Cheers,
Miguel