Hi all,
I currently try to develop a datasource extension that consumes another datasource and manipulates it. So I built a dataBuffer extension according to the developers guide, added a property of Type ResultCellSet and a corresponding getter/setter. Now I would expect a Data-Runtime-JSON being passed to this getter/setter after selecting data.
Defenition of property:
<property
id="inputdata"
type="ResultCellSet"
title="Input Data"
group="DataBinding">
<option name="includeFormattedData" value="true"/>
<option name="includeMetadata" value="false"/>
<option name="fillMetadataProperty" value="true"/>
<option name="maxCells" value="500"/>
</property>
The issue is that with the above configuration my inputdata getter/setter will never be called and (with assigned datasource) a warning shows up in the error log saying:
The component "DS_3" does not have a data source. In this case, data-bound properties cannot use the "fillMetadataProperty" option.
Now, when I change the properties configuration so that includeMetadata ist true and fillMetadataProperty is false, the inputdata getter/setter gets called but only with a selection string instead of the expected Data-Runtime-JSON.
Example of selection string being passed:
{"(MEASURES_DIMENSION)":"0D_NWI_NSAL","0D_NWI_RCOD":"80503"}
Does anyone experienced this behavior as well? Could this be a bug in the sdk?
Kind Regards
Tim
More Information:
I searched the scn and did not found anything about an issue like this.
Then I imported the scaling datasource extension from the sdk examples, logged the input of data getter/setter and got a selection string, too, instead of a Data-Runtime-JSON, resulting in a malfunction of the extension.
Moreover I tried multiple combinations of different options of the property, different datasources and Design Studio versions 1.5 and 1.6.
I never got an Data-Runtime-JSON.