<?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>Question Re: Binding entityset  for smarttable with named odata model in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/binding-entityset-for-smarttable-with-named-odata-model/qaa-p/744157#M210370</link>
    <description>&lt;P&gt;set default model of smart table to "a".&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;this.getView().byId("LineItemsSmartTable").setModel(  &amp;lt;reference to model 'a'&amp;gt;  );&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Then tablebindingpath is just "entityset" and not "a&amp;gt;/entityset"&lt;/P&gt;</description>
    <pubDate>Wed, 05 Sep 2018 23:56:45 GMT</pubDate>
    <dc:creator>vsingh_mscg</dc:creator>
    <dc:date>2018-09-05T23:56:45Z</dc:date>
    <item>
      <title>Binding entityset  for smarttable with named odata model</title>
      <link>https://community.sap.com/t5/technology-q-a/binding-entityset-for-smarttable-with-named-odata-model/qaq-p/744155</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
  &lt;P&gt;I am using multiple odata services in a application, so I mentioned those services in manifest file as shown below.but when i tried to bind the smarttable with 'a' model as shown below.it is not binding the data.Please help me to resolve this issue.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/211527-2.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/211522-1.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt;Thanks in Advance&lt;/P&gt;</description>
      <pubDate>Wed, 05 Sep 2018 06:33:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/binding-entityset-for-smarttable-with-named-odata-model/qaq-p/744155</guid>
      <dc:creator>raghavendra_nookala</dc:creator>
      <dc:date>2018-09-05T06:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Binding entityset  for smarttable with named odata model</title>
      <link>https://community.sap.com/t5/technology-q-a/binding-entityset-for-smarttable-with-named-odata-model/qaa-p/744156#M210369</link>
      <description>&lt;P&gt;I think it should be no name&lt;/P&gt;</description>
      <pubDate>Wed, 05 Sep 2018 11:44:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/binding-entityset-for-smarttable-with-named-odata-model/qaa-p/744156#M210369</guid>
      <dc:creator>junwu</dc:creator>
      <dc:date>2018-09-05T11:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Binding entityset  for smarttable with named odata model</title>
      <link>https://community.sap.com/t5/technology-q-a/binding-entityset-for-smarttable-with-named-odata-model/qaa-p/744157#M210370</link>
      <description>&lt;P&gt;set default model of smart table to "a".&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;this.getView().byId("LineItemsSmartTable").setModel(  &amp;lt;reference to model 'a'&amp;gt;  );&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Then tablebindingpath is just "entityset" and not "a&amp;gt;/entityset"&lt;/P&gt;</description>
      <pubDate>Wed, 05 Sep 2018 23:56:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/binding-entityset-for-smarttable-with-named-odata-model/qaa-p/744157#M210370</guid>
      <dc:creator>vsingh_mscg</dc:creator>
      <dc:date>2018-09-05T23:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Binding entityset  for smarttable with named odata model</title>
      <link>https://community.sap.com/t5/technology-q-a/binding-entityset-for-smarttable-with-named-odata-model/qaa-p/744158#M210371</link>
      <description>&lt;P&gt;Thanks Vaibhav and Jun for quick reply,&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;var view = this.getView(); &lt;/P&gt;
  &lt;P&gt;view.setModel(this.getOwnerComponent().getModel('a'));&lt;/P&gt;
  &lt;P&gt; view.byId("LineItemsSmartTable").rebindTable();&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;on onInit method solved my problem.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Thank You&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2018 06:24:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/binding-entityset-for-smarttable-with-named-odata-model/qaa-p/744158#M210371</guid>
      <dc:creator>raghavendra_nookala</dc:creator>
      <dc:date>2018-09-06T06:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Binding entityset  for smarttable with named odata model</title>
      <link>https://community.sap.com/t5/technology-q-a/binding-entityset-for-smarttable-with-named-odata-model/qaa-p/744159#M210372</link>
      <description>&lt;P&gt;Hi Raghavendra,&lt;/P&gt;&lt;P&gt;I have same scenario where i need to call additional service from other system and display data in Smart Table. But the data is not getting populate in View. Can i have XML on how to bind data to smart table  &lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 09:28:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/binding-entityset-for-smarttable-with-named-odata-model/qaa-p/744159#M210372</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-06-24T09:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Binding entityset  for smarttable with named odata model</title>
      <link>https://community.sap.com/t5/technology-q-a/binding-entityset-for-smarttable-with-named-odata-model/qaa-p/744160#M210373</link>
      <description>&lt;P&gt;used this whwn my smart filter and smart table had to be bound to different services. It really helped and worked seamlessly like a single service. &lt;/P&gt;&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Rama H&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 18:43:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/binding-entityset-for-smarttable-with-named-odata-model/qaa-p/744160#M210373</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-07-27T18:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Binding entityset  for smarttable with named odata model</title>
      <link>https://community.sap.com/t5/technology-q-a/binding-entityset-for-smarttable-with-named-odata-model/qaa-p/744161#M210374</link>
      <description>&lt;P&gt;I have same situation like two smart filters and smart tables need to be added in same view so how how can i added two entities with model name for smart table and smart filters. &lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 09:06:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/binding-entityset-for-smarttable-with-named-odata-model/qaa-p/744161#M210374</guid>
      <dc:creator>tejashwini</dc:creator>
      <dc:date>2020-09-24T09:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: Binding entityset  for smarttable with named odata model</title>
      <link>https://community.sap.com/t5/technology-q-a/binding-entityset-for-smarttable-with-named-odata-model/qaa-p/744162#M210375</link>
      <description>&lt;P&gt;Hi Raghvendra, &lt;/P&gt;&lt;P&gt;This does not work with latest libraries. Did you get chance to try it out in the recent time.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 14:43:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/binding-entityset-for-smarttable-with-named-odata-model/qaa-p/744162#M210375</guid>
      <dc:creator>SrinathVelagala</dc:creator>
      <dc:date>2022-07-07T14:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Binding entityset  for smarttable with named odata model</title>
      <link>https://community.sap.com/t5/technology-q-a/binding-entityset-for-smarttable-with-named-odata-model/qaa-p/744163#M210376</link>
      <description>&lt;P&gt;Hello I recently had the same issue. Specifically I have 2 smart tables in my app, one has responsive table -&amp;gt; using unnamed odata model, one has analytical table -&amp;gt; using another named odata model (with name "headerQuery"). This is what I had to do:&lt;/P&gt;&lt;P&gt;in XML view - not specifying neither entityset nor tableBindingPath&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2233625-image.png" /&gt;&lt;/P&gt;&lt;P&gt;in controller e.g. at "onRouteMatched"&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2233626-image.png" /&gt;&lt;/P&gt;&lt;P&gt;the key things (based on some debugging of inner code of SmartTable)&lt;/P&gt;&lt;P&gt;- the "named oData model" had to become "unnamed model" for the SmartTable - that's achieved on the first yellow line. Because code inside smart table is sometimes simply calling ...getModel() &lt;/P&gt;&lt;P&gt;- setEntitySet is called as well cause that actually triggers some initialization inside SmartTable&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 20:30:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/binding-entityset-for-smarttable-with-named-odata-model/qaa-p/744163#M210376</guid>
      <dc:creator>ivo_skolek</dc:creator>
      <dc:date>2023-12-11T20:30:50Z</dc:date>
    </item>
  </channel>
</rss>

