org-scn-design-studio-community / sdkpackage

SDK Package of SCN Design Studio Community
Apache License 2.0
32 stars 29 forks source link

Custom data source does not work with GeoMap component #71

Open alfgon opened 8 years ago

alfgon commented 8 years ago

Hi,

Following several samples we found previously (e.g: http://scn.sap.com/community/businessobjects-design-studio/blog/2015/06/10/creating-custom-geojson-maps-in-design-studio-15--part-2-of-2) we are trying to develop a mockup on DS that includes a GeoMap component based on a BYO Custom Data Source component.

Below screenshot show the geomap component displayed properly using an standard data source and a geojson map of europe we have created (on DS 1.6)

kk1

It works fine. Therefore we create a simple custom data source (3.0 release) with some rows as shown below

kk2

and this what we see when creating a geo map component using this data source (left map use custom data source, right map use standard one). below bar chart is using custom data source:

kk3

No error appears but clearly the geo map component is not showing anything.

Question is: Is this a bug or a limitation of using SDK custom data sources?

On Design studio developer guide I have found folllwoing statement about restrictions using SDK extensions as data sources:

Restrictions SDK data sources can be consumed by SDK components and standard components, with the exception of the standard Crosstab component and standard filter components such as Dimension Filter and Filter Panel.

Can be the geo map be considered as an standard component?

Thx

entmike commented 8 years ago

I can confirm this is not working. I suspect it is a problem with the Geo Maps component, not the custom data source. Example:

bug1