Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Kevin Mohamed
1
Views
1
Comments
Request Geocoordinates with IP address through AJAX call
Question
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:
https://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
Miguel Antunes
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:
https://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!
https://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
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...