Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
rbartley
Specialist II
Specialist II

GeoAnalytics in Mashup - Beware of duplicate GeoAnalytics internal IDs

Hi everyone,

I am posting this in the hope that it might help others out there avoid wasting hours on debugging an issue which I came across today.  I duplicated two existing maps on a separate sheet in my app and referenced these in my mashup.  However, I could only get one set of maps to display, depending on which tab in  my mashup I visited first.

It turns out that when you duplicate a GeoAnalytics map on a separate sheet, it keeps the internal GeoAnalytics ID and it seems that this needs to be unique within the mashup.  After re-duplicating these maps on the same sheet, I could see that the internal GeoAnalytics IDs were different, so I deleted the original duplicates.  I then changed the object IDs within my code and, hey presto! , all four maps were displayed, independent of the order in which I opened the mashup tabs.

I hope this helps.

5 Replies
Rav3
Contributor II
Contributor II

Hi There,

I want to create a Mashup by using Geo Analytics, I used map ID but it is not showing in mashup until unless adding layers in Mashup, here I have to show only map(along with Bubbles ect..ect..), not the layers which we added in Qlik Sense, Is there any way to do it ???

rbartley
Specialist II
Specialist II
Author

Hi, sorry for the delay.  I've been away.

Unfortunately, I'm not exactly sure what you are asking.  If you mean that the map doesn't show up if you don't add the data layer object in the mashup, then that's the way it's designed to work.  You have to reference both in your mashup in the same way that you can't have a GeoAnalytics map without the  data layer in Qlik Sense.  However, you don't have to show the data layer, you can just set the visibility or display attributes of the tag containing the layer so that it doesn't show.

I hope this helps.

 

 

dannyy81
Contributor III
Contributor III

how do you change the map id in mashup?

rbartley
Specialist II
Specialist II
Author

I'm not aware of being able to change the Map ID in the mashup, but why would you want to?  You just reference the objects by their object IDs, which you can find in the Single Configurator (dev-hub menu).

kishore3k
Partner - Contributor III
Partner - Contributor III

Could you please check below and issue you faced is the same?

 

I have this strange issue in QlikSense Geo Map(Area layer) which we have in the application.

Chart is showing without any issues in the application but when we call the object through API it is not showing .

There is no problem with object ID and all. In fact we have default canvas map is showing in the mashup , only area layer is not showing. Anyone with this strange issue ? I am clueless right now and need starting point to analyze and fix the same.

As you can see below Only canvas map is showing in mashup compared area chart in Dashboard.

for image pls visit - https://community.qlik.com/t5/Qlik-GeoAnalytics-Discussions/Geo-Map-is-showing-but-not-area-layer-wh...

Other visualization are fine like bar chart/line chart and hypercubes.

Any help is much appreciated.

note : i am able to export as pdf in which area chart is populating but not in the actual column where object is called,