Trying to arrange a Qlik Sense mashup code that will select a series of locations based on a specific range around user's location (for example: 1000 km around of my location etc).
I am able to get the location and calculate the distance to/ from each coordinate with a function. I need to get the resultset of the coordinate points that are matching my condition, and in the next step I need to select these values.
I'm a little bit confused about how to use the Qlik Sense API though. Do I need to use getList or createList methods and how? Seems like I cannot assign the resulting values to a specific array. For example the code below from API ref; I'm not able to make it work.
So do you mean getList is only used for getting the whole list of field with no restriction? Because my field's name is Location in the above example. I still could not understand the difference between the two methods. Thanks to lazy API reference .
Also I have another problem with API. In the code below, I want to make a simple selection. But seems like the ready-made variable "app" is out of scope or something. I'm not able to make anything work with it.