Quantcast
Channel: SCN : Discussion List - SAP Fiori
Viewing all articles
Browse latest Browse all 1804

Enhance Fiori XML Template with Comparison Chart

$
0
0

Hello Experts,

 

I started a project based on the "Fiori Worklist Template" which basically works fine.

It was possible to add different controls to the XML configuration - except for the Comparison Chart, which just won't work -

if included my View does not render anymore.

 

My guess would be that it has something to do with the incompatibility of namespaces (sap.m vs. sap.suite.ui.commons or sap.m.semantic)

 

Other Controls are rendered fine - how can this be resolved?

 

Any hints appreciated.

 

 

<mvc:View controllerName="test.controller.Object" xmlns:c="sap.suite.ui.commons" xmlns:core="sap.ui.core"  xmlns:footerbar="sap.ushell.ui.footerbar" xmlns:l="sap.ui.layout" xmlns:mvc="sap.ui.core.mvc" xmlns:semantic="sap.m.semantic" xmlns="sap.m">  <semantic:FullscreenPage busy="{objectView>/busy}" busyIndicatorDelay="{objectView>/delay}" id="page" navButtonPress="onNavBack"  showNavButton="true" title="{i18n>objectTitle}">  <semantic:content>  <c:ComparisonChart scale="M" size="S">  <data>  <ComparisonData color="Good" title="Americas" value="10"/>  <ComparisonData color="Good" title="EMEA" value="50"/>  <ComparisonData color="Error" title="APAC" value="-20"/>  </data>  </c:ComparisonChart>  </semantic:content>  <semantic:sendEmailAction>  <semantic:SendEmailAction id="shareEmail" press="onShareEmailPress"/>  </semantic:sendEmailAction>  <semantic:shareInJamAction>  <semantic:ShareInJamAction id="shareInJam" press="onShareInJamPress" visible="{FLP>/isShareInJamActive}"/>  </semantic:shareInJamAction>  <semantic:saveAsTileAction>  <footerbar:AddBookmarkButton id="shareTile" title="{objectView>/saveAsTileTitle}"/>  </semantic:saveAsTileAction>  </semantic:FullscreenPage></mvc:View></mvc:View>

Viewing all articles
Browse latest Browse all 1804

Trending Articles



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