Hello everyone,
I am trying to build up an Analytical List Page and I assume getting a bug in here. Basically, I have added the following annotations.
ERROR: Data source does not support drillDown/drillUp. The method "getDrillStack" therefore cannot be used!
<Annotation Term="UI.Chart"> <Record Type="UI.ChartDefinitionType"> <PropertyValue Property="ChartType" EnumMember="UI.ChartType/Line"/> <PropertyValue Property="Dimensions"> <Collection> <PropertyPath>DOCNUM</PropertyPath> </Collection> </PropertyValue> <PropertyValue Property="DimensionAttributes"> <Collection> <Record Type="UI.ChartDimensionAttributeType"> <PropertyValue Property="Dimension" PropertyPath="DOCNUM"/> <PropertyValue Property="Role" EnumMember="UI.ChartDimensionRoleType/Category"/> </Record> </Collection> </PropertyValue> <PropertyValue Property="Measures"> <Collection> <PropertyPath>SALESAMOUNT</PropertyPath> </Collection> </PropertyValue> <PropertyValue Property="MeasureAttributes"> <Collection> <Record Type="UI.ChartMeasureAttributeType"> <PropertyValue Property="Measure" PropertyPath="SALESAMOUNT"/> <PropertyValue Property="Role" EnumMember="UI.ChartMeasureRoleType/Axis1"/> </Record> </Collection> </PropertyValue> </Record> </Annotation> <Annotation Term="UI.LineItem"> <Collection> <Record Type="UI.DataField"> <PropertyValue Property="Value" Path="DOCNUM"/> </Record> <Record Type="UI.DataField"> <PropertyValue Property="Value" Path="ITEM"/> </Record> <Record Type="UI.DataField"> <PropertyValue Property="Value" Path="SALESAMOUNT"/> </Record> </Collection> </Annotation>
Even though I am not doing anything with Drill Down/Up property of the Chart section, it gives the following error as I click anywhere.
I debugged the DetailController.dbg and there is even bug related comment in it (// workaround for bug in chart...). Because of that, I also assumed maybe this is a bug as well.
Basically, as I click to the Go btn up right on my table it takes to the DetailController.dbg/_getSelParamsFromChart and applyParamsToTable methods which returns empty for every sentence related with finding a DrillStack and causes the Error.
drillStack: undefined
*/
_getSelParamsFromChart: function(chart) {
var dpList = [];
var oChartInfo = this.oState.chartController._chartInfo;
if (oChartInfo.vizSelection) {// workaround for bug in chart, will get null pointer exception if vizSelection is not checked
dpList = oChartInfo.chartSelection.dataPoints;
}
return this._getSelParamsFromDPList(dpList);
},
Looking forward your contributions gurus,
whether am I doing something wrong in annotations or there is something wrong in the code..
Best Regards,
Merve