<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Missing Bindings in SAPUI5 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/missing-bindings-in-sapui5/m-p/371260#M8315</link>
    <description>&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;hope somebody can help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have created an oData-Service which gives me an entitySet. The Metadata looks like this:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/10534-sap-gateway-client.png" /&gt;&lt;/P&gt;&lt;P&gt;Now i have a XML-View like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;core:View xmlns:core="sap.ui.core" xmlns:mvc="sap.ui.core.mvc"
    xmlns="sap.m" controllerName="kkl.controller.Overview" xmlns:html="http://www.w3.org/1999/xhtml"&amp;gt;
    &amp;lt;Page id="oPage" title="{i18n&amp;gt;title}" navButtonPress="onNavBack"&amp;gt;
        &amp;lt;Table id="buttTable" visible="false" items="{
                path: '/MenueSet'
                    }"
            width="auto"&amp;gt;
            &amp;lt;columns&amp;gt;
                &amp;lt;Column width="100%"&amp;gt;&amp;lt;/Column&amp;gt;
            &amp;lt;/columns&amp;gt;
            &amp;lt;items&amp;gt;
                &amp;lt;ColumnListItem&amp;gt;
                    &amp;lt;cells&amp;gt;
                        &amp;lt;Button text="{Bezeichnung}" width="100%"&amp;gt;&amp;lt;/Button&amp;gt;
                    &amp;lt;/cells&amp;gt;
                &amp;lt;/ColumnListItem&amp;gt;
            &amp;lt;/items&amp;gt;
        &amp;lt;/Table&amp;gt;
        &amp;lt;TileContainer id="tileCont" visible="false" tiles="{/MenueSet}"&amp;gt;
            &amp;lt;tiles&amp;gt;
                &amp;lt;StandardTile title="{Bezeichnung}"&amp;gt;&amp;lt;/StandardTile&amp;gt;
            &amp;lt;/tiles&amp;gt;
        &amp;lt;/TileContainer&amp;gt;
    &amp;lt;/Page&amp;gt;
&amp;lt;/core:View&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;My next step is on the Controller to load the data:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;// Jetzt das Menü holen
            var menu = this._model.getProperty("/menu");
            this._mModel = this.getView().getModel("benutzer");
            this._mModel.read("/MenueSet?$filter=Mmenu eq '" + menu + "'",
            false);
        //Kacheln oder Buttons anzeigen?
            this._mKachel = this._model.getProperty("/kachel");
            if (this._mKachel == 'X') {
                this.ShowTiles();
            } else
            this.ShowTab();
       },
       
       ShowTab: function(){
          var table =  this.getView().byId("buttTable");
          table.setVisible(true);
          table.setModel(this._mModel);
       },
       
       ShowTiles: function() {
         var tCont =  this.getView().byId("tileCont");
         tCont.setVisible(true);
         tCont.setModel(this._mModel);
       },&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;When I try to execute the oData-Service I get a result:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/10535-sap-gateway-client-2.png" /&gt;&lt;/P&gt;&lt;P&gt;But my result in chrome looks like this:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/10537-sap-bc-ui5-ui5-sap.png" /&gt;&lt;/P&gt;&lt;P&gt;As you can see only the title of the last entry is filled in the tiles, also the system recognized that there are three entries.&lt;/P&gt;&lt;P&gt;I am a little bit confused. An ysuggestions what i did wrong?&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Mathias&lt;/P&gt;</description>
    <pubDate>Sun, 11 Dec 2016 19:04:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-12-11T19:04:16Z</dc:date>
    <item>
      <title>Missing Bindings in SAPUI5</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/missing-bindings-in-sapui5/m-p/371260#M8315</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;hope somebody can help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have created an oData-Service which gives me an entitySet. The Metadata looks like this:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/10534-sap-gateway-client.png" /&gt;&lt;/P&gt;&lt;P&gt;Now i have a XML-View like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;core:View xmlns:core="sap.ui.core" xmlns:mvc="sap.ui.core.mvc"
    xmlns="sap.m" controllerName="kkl.controller.Overview" xmlns:html="http://www.w3.org/1999/xhtml"&amp;gt;
    &amp;lt;Page id="oPage" title="{i18n&amp;gt;title}" navButtonPress="onNavBack"&amp;gt;
        &amp;lt;Table id="buttTable" visible="false" items="{
                path: '/MenueSet'
                    }"
            width="auto"&amp;gt;
            &amp;lt;columns&amp;gt;
                &amp;lt;Column width="100%"&amp;gt;&amp;lt;/Column&amp;gt;
            &amp;lt;/columns&amp;gt;
            &amp;lt;items&amp;gt;
                &amp;lt;ColumnListItem&amp;gt;
                    &amp;lt;cells&amp;gt;
                        &amp;lt;Button text="{Bezeichnung}" width="100%"&amp;gt;&amp;lt;/Button&amp;gt;
                    &amp;lt;/cells&amp;gt;
                &amp;lt;/ColumnListItem&amp;gt;
            &amp;lt;/items&amp;gt;
        &amp;lt;/Table&amp;gt;
        &amp;lt;TileContainer id="tileCont" visible="false" tiles="{/MenueSet}"&amp;gt;
            &amp;lt;tiles&amp;gt;
                &amp;lt;StandardTile title="{Bezeichnung}"&amp;gt;&amp;lt;/StandardTile&amp;gt;
            &amp;lt;/tiles&amp;gt;
        &amp;lt;/TileContainer&amp;gt;
    &amp;lt;/Page&amp;gt;
&amp;lt;/core:View&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;My next step is on the Controller to load the data:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;// Jetzt das Menü holen
            var menu = this._model.getProperty("/menu");
            this._mModel = this.getView().getModel("benutzer");
            this._mModel.read("/MenueSet?$filter=Mmenu eq '" + menu + "'",
            false);
        //Kacheln oder Buttons anzeigen?
            this._mKachel = this._model.getProperty("/kachel");
            if (this._mKachel == 'X') {
                this.ShowTiles();
            } else
            this.ShowTab();
       },
       
       ShowTab: function(){
          var table =  this.getView().byId("buttTable");
          table.setVisible(true);
          table.setModel(this._mModel);
       },
       
       ShowTiles: function() {
         var tCont =  this.getView().byId("tileCont");
         tCont.setVisible(true);
         tCont.setModel(this._mModel);
       },&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;When I try to execute the oData-Service I get a result:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/10535-sap-gateway-client-2.png" /&gt;&lt;/P&gt;&lt;P&gt;But my result in chrome looks like this:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/10537-sap-bc-ui5-ui5-sap.png" /&gt;&lt;/P&gt;&lt;P&gt;As you can see only the title of the last entry is filled in the tiles, also the system recognized that there are three entries.&lt;/P&gt;&lt;P&gt;I am a little bit confused. An ysuggestions what i did wrong?&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Mathias&lt;/P&gt;</description>
      <pubDate>Sun, 11 Dec 2016 19:04:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/missing-bindings-in-sapui5/m-p/371260#M8315</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-12-11T19:04:16Z</dc:date>
    </item>
  </channel>
</rss>

