on 08-27-2019 2:30 PM
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
Same , if any solution kindly let me know
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same , if any solution kindly let me know
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Merve or Silvia,
I am also facing same issue, can you let us know. how it is resolved.
Regards,
Vishnu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
This issue resolved for me when I add '@DefaultAggregation: #SUM' at my measures.
Thanks,
Vishnu
Thanks bro for the lead defaultAgregationsum:
Sharing also the detail.
Hi Merve,
did you solve this problem or bypass it? I'm facing the same issue and I'm kind of stuck
Thanks
Silvia
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.