Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2222

VizFrame 50017 error when removing/adding it to a grid

$
0
0

Hi experts,

 

I'm trying programmatically to move a xmlView (which contains a VizFrame) from one grid to another. However as long as I remove or add a xmlView I get an "50017 - Ungültige Datenbindung" error.

 

This is how the xml code look

 

moving xml views between grids.png

 

And when I try to remove "__xmlview0----idMvcViewPlanStatus" from the "__grid1" other charts in "__grid1" get messed up.

 

var grid0 = sap.ui.getCore().byId("__grid0");  var grid1 = sap.ui.getCore().byId("__grid1");  var xmlViewStatus = sap.ui.getCore().byId("__xmlview0----idMvcViewPlanStatus");  grid1.removeContent(xmlViewStatus)

and the result

 

 

messedUp charts.PNG

 

 

Also when I try to add __xmlview0----idMvcViewPlanStatus" to the "__grid0" other charts in "__grid0" get messed up.

 

The grid and its content, i.e xmlViews get automatically rerendered but you can see the output in the picture above. I can also observer that my OData service calls happened.

 

 

 

Do you have any ideas why I get the error?

 

Kind regards,

 

Filip Perisic


Viewing all articles
Browse latest Browse all 2222

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>