Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I'm trying to develop an app and want to use something like the Location Services. My idea is to show in a map the nearest customers you have from you, according to your current location.
Is it possible? How?
Thanks,
Jorge
Hi,
You can achieve that by using an extension. The way it works is that you can embed any web object into QlikView. You may want to take a look at this post:
http://community.qlik.com/ideas/2456
regards
Really nice! But do you know any extension like this?
There are plenty of map extensions (GeoQlik, QlikMaps, Integeo). All of them have location services, Google maps integration, etc. The "problem" is that they're not free. However, if you'd like to see a practical free example, take a look at these post where you can download sample code:
Check out the GPS Store Finder on the demo site
You will need to download the extension and the QVW to get it working locally. The extension can be downloaded by clicking on More Resources.
Yes this can be done.
Hi Josh,
great post!
I took a look at the template and installed the extension. When I go to web view I'm able to see the button and it's properties. However the properties are empty and without any clear instructions, the extension is almost useless. Would you happen to have some kind of instructions on how to use the extension?
thanks a lot!
Hi David,
I don't have any instructions sorry. I believe the extension really only works when viewing the app via a web browser (i.e. from a server). From what I can tell the extension object just triggers the web browser to share the location with the app.
I'll keep looking to see if I can dig up more info on this extension.
Regards,
Josh
Sorry, I thought instructions were packed in. I believe that the one in there is a document extension that I built. If so, like Josh said, it will only work in a web browser since it leverages those kinds of capabilities. It should set two variables, vLat and vLong. You can use those coordinates to plot on a map similar to this demo.
Hi Brian,
is there any way to "trigger" the code without having to click on the actual button? Because it would be great if the QV dashboard could get the current location "on open" without the user having to click on the button 🙂
thanks for any help you can provide!
David
Yes, definitely. You can use a document extension to get the location (using HTML and JS) and set some variables to those long/lat values. I THINK that is also packaged up in those demo resources. If not, let me know and I'll try to find it.