Cant seem to connect oData table to a smart tableoData binding for Master and Detail tableTry to use variants and table personalisation on SAPUI5 SmartTableSmart table bugSmart Table, onclick eventOdata connets but cant get the dataOdata table not showing odata recordsSAPUI5 - Change the Column Name and Properties from smarttable from oData with no AnnotationSAPUI5 OData binding to tableWhich odata format required to build smart table in sapui5?Problem with SAPUI5 odata date field (smart table)

What flavor of zksnark in tezos

What is a simple, physical situation where complex numbers emerge naturally?

correct term describing the action of sending a brand-new ship out into its first seafaring trip

Pronoun introduced before its antecedent

Is it a problem that pull requests are approved without any comments

What is the right way to float a home lab?

Can a magnetic field of an object be stronger than its gravity?

Is it OK to bring delicacies from hometown as tokens of gratitude for an out-of-town interview?

The ring of global sections of a regular scheme

You've spoiled/damaged the card

What is the advantage of carrying a tripod and ND-filters when you could use image stacking instead?

Did thousands of women die every year due to illegal abortions before Roe v. Wade?

How to make a setting relevant?

Can Green-Flame Blade be cast twice with the Hunter ranger's Horde Breaker ability?

Bent spoke design wheels — feasible?

How to decline physical affection from a child whose parents are pressuring them?

Movie where a boy is transported into the future by an alien spaceship

Building a road to escape Earth's gravity by making a pyramid on Antartica

Credit card offering 0.5 miles for every cent rounded up. Too good to be true?

Can you please explain this joke: "I'm going bananas is what I tell my bananas before I leave the house"?

Why is c4 bad when playing the London against a King's Indian?

How can Iron Man's suit withstand this?

Riley's, assemble!

Does any lore text explain why the planes of Acheron, Gehenna, and Carceri are the alignment they are?



Cant seem to connect oData table to a smart table


oData binding for Master and Detail tableTry to use variants and table personalisation on SAPUI5 SmartTableSmart table bugSmart Table, onclick eventOdata connets but cant get the dataOdata table not showing odata recordsSAPUI5 - Change the Column Name and Properties from smarttable from oData with no AnnotationSAPUI5 OData binding to tableWhich odata format required to build smart table in sapui5?Problem with SAPUI5 odata date field (smart table)






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I was trying to connect an oData table to a smart table in my web ide using the following code.
I have seen the metadata of my oData and the entity set I want to access is trainingPlan.
PLANID and COURSEID are 2 columns in the table I am accessing.
In the result screen just the empty toolbar is coming and 'no data' is written beneath it.
The table is accessible as I tried to display using normal table and the data is showing.



#App.view.xml
<core:View xmlns:core="sap.ui.core" xmlns="sap.m" xmlns:smartFilterBar="sap.ui.comp.smartfilterbar"
xmlns:smartTable="sap.ui.comp.smarttable" xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:app="http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1" controllerName="Workspace.controller.App" height="100%">
<smartFilterBar:SmartFilterBar id="smartFilterBar" entitySet="trainingPlan" persistencyKey="SmartFilter_Explored" enableBasicSearch="true" >
<smartFilterBar:controlConfiguration>
<smartFilterBar:ControlConfiguration key="PLANID"></smartFilterBar:ControlConfiguration>
<smartFilterBar:ControlConfiguration key="COURSEID"></smartFilterBar:ControlConfiguration>
</smartFilterBar:controlConfiguration>
</smartFilterBar:SmartFilterBar>
<smartTable:SmartTable entitySet="trainingPlan" initiallyVisibleFields="PLANID" smartFilterId="smartFilterBar" tableType="ResponsiveTable" useExportToExcel="true"
useVariantManagement="false" useTablePersonalisation="true" header="Line Items" showRowCount="true" tableBindingPath="TEST>/trainingPlan"
persistencyKey="SmartTableAnalytical_Explored" enableAutoBinding="true" demandPopin="true" class="sapUiResponsiveContentPadding"
/>
</core:View>

#metadata.xml
<edmx:Edmx xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx"
Version="1.0">
<edmx:DataServices
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"
m:DataServiceVersion="2.0">
<Schema xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"
xmlns="http://schemas.microsoft.com/ado/2008/09/edm"
Namespace="demo.services.demo">
<<EntityType Name="trainingPlanType">
<Key>
<PropertyRef Name="PLANID"/>
<PropertyRef Name="COURSEID"/>
</Key>
<Property Name="PLANID" Type="Edm.Int32" Nullable="false"/>
<Property Name="COURSEID" Type="Edm.Int32" Nullable="false"/>
<Property Name="COURSENAME" Type="Edm.String" Nullable="false"
MaxLength="255"/>
<Property Name="STARTDATE" Type="Edm.DateTime" Nullable="false"/>
<Property Name="AVAILSEAT" Type="Edm.Int32" Nullable="false"/>
<Property Name="TOTALSEATS" Type="Edm.Int32" Nullable="false"/>
<Property Name="ROOMNO" Type="Edm.Int32" Nullable="false"/>
<Property Name="COURSEDURATION" Type="Edm.String" MaxLength="255"/>
</EntityType>
<EntityContainer Name="demo" m:IsDefaultEntityContainer="true">
<EntitySet Name="trainingPlan"
EntityType="demo.services.demo.trainingPlanType"/>
</EntityContainer>
</Schema>
</edmx:DataServices>
</edmx:Edmx>









share|improve this question






























    0















    I was trying to connect an oData table to a smart table in my web ide using the following code.
    I have seen the metadata of my oData and the entity set I want to access is trainingPlan.
    PLANID and COURSEID are 2 columns in the table I am accessing.
    In the result screen just the empty toolbar is coming and 'no data' is written beneath it.
    The table is accessible as I tried to display using normal table and the data is showing.



    #App.view.xml
    <core:View xmlns:core="sap.ui.core" xmlns="sap.m" xmlns:smartFilterBar="sap.ui.comp.smartfilterbar"
    xmlns:smartTable="sap.ui.comp.smarttable" xmlns:html="http://www.w3.org/1999/xhtml"
    xmlns:app="http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1" controllerName="Workspace.controller.App" height="100%">
    <smartFilterBar:SmartFilterBar id="smartFilterBar" entitySet="trainingPlan" persistencyKey="SmartFilter_Explored" enableBasicSearch="true" >
    <smartFilterBar:controlConfiguration>
    <smartFilterBar:ControlConfiguration key="PLANID"></smartFilterBar:ControlConfiguration>
    <smartFilterBar:ControlConfiguration key="COURSEID"></smartFilterBar:ControlConfiguration>
    </smartFilterBar:controlConfiguration>
    </smartFilterBar:SmartFilterBar>
    <smartTable:SmartTable entitySet="trainingPlan" initiallyVisibleFields="PLANID" smartFilterId="smartFilterBar" tableType="ResponsiveTable" useExportToExcel="true"
    useVariantManagement="false" useTablePersonalisation="true" header="Line Items" showRowCount="true" tableBindingPath="TEST>/trainingPlan"
    persistencyKey="SmartTableAnalytical_Explored" enableAutoBinding="true" demandPopin="true" class="sapUiResponsiveContentPadding"
    />
    </core:View>

    #metadata.xml
    <edmx:Edmx xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx"
    Version="1.0">
    <edmx:DataServices
    xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"
    m:DataServiceVersion="2.0">
    <Schema xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
    xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"
    xmlns="http://schemas.microsoft.com/ado/2008/09/edm"
    Namespace="demo.services.demo">
    <<EntityType Name="trainingPlanType">
    <Key>
    <PropertyRef Name="PLANID"/>
    <PropertyRef Name="COURSEID"/>
    </Key>
    <Property Name="PLANID" Type="Edm.Int32" Nullable="false"/>
    <Property Name="COURSEID" Type="Edm.Int32" Nullable="false"/>
    <Property Name="COURSENAME" Type="Edm.String" Nullable="false"
    MaxLength="255"/>
    <Property Name="STARTDATE" Type="Edm.DateTime" Nullable="false"/>
    <Property Name="AVAILSEAT" Type="Edm.Int32" Nullable="false"/>
    <Property Name="TOTALSEATS" Type="Edm.Int32" Nullable="false"/>
    <Property Name="ROOMNO" Type="Edm.Int32" Nullable="false"/>
    <Property Name="COURSEDURATION" Type="Edm.String" MaxLength="255"/>
    </EntityType>
    <EntityContainer Name="demo" m:IsDefaultEntityContainer="true">
    <EntitySet Name="trainingPlan"
    EntityType="demo.services.demo.trainingPlanType"/>
    </EntityContainer>
    </Schema>
    </edmx:DataServices>
    </edmx:Edmx>









    share|improve this question


























      0












      0








      0








      I was trying to connect an oData table to a smart table in my web ide using the following code.
      I have seen the metadata of my oData and the entity set I want to access is trainingPlan.
      PLANID and COURSEID are 2 columns in the table I am accessing.
      In the result screen just the empty toolbar is coming and 'no data' is written beneath it.
      The table is accessible as I tried to display using normal table and the data is showing.



      #App.view.xml
      <core:View xmlns:core="sap.ui.core" xmlns="sap.m" xmlns:smartFilterBar="sap.ui.comp.smartfilterbar"
      xmlns:smartTable="sap.ui.comp.smarttable" xmlns:html="http://www.w3.org/1999/xhtml"
      xmlns:app="http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1" controllerName="Workspace.controller.App" height="100%">
      <smartFilterBar:SmartFilterBar id="smartFilterBar" entitySet="trainingPlan" persistencyKey="SmartFilter_Explored" enableBasicSearch="true" >
      <smartFilterBar:controlConfiguration>
      <smartFilterBar:ControlConfiguration key="PLANID"></smartFilterBar:ControlConfiguration>
      <smartFilterBar:ControlConfiguration key="COURSEID"></smartFilterBar:ControlConfiguration>
      </smartFilterBar:controlConfiguration>
      </smartFilterBar:SmartFilterBar>
      <smartTable:SmartTable entitySet="trainingPlan" initiallyVisibleFields="PLANID" smartFilterId="smartFilterBar" tableType="ResponsiveTable" useExportToExcel="true"
      useVariantManagement="false" useTablePersonalisation="true" header="Line Items" showRowCount="true" tableBindingPath="TEST>/trainingPlan"
      persistencyKey="SmartTableAnalytical_Explored" enableAutoBinding="true" demandPopin="true" class="sapUiResponsiveContentPadding"
      />
      </core:View>

      #metadata.xml
      <edmx:Edmx xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx"
      Version="1.0">
      <edmx:DataServices
      xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"
      m:DataServiceVersion="2.0">
      <Schema xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
      xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"
      xmlns="http://schemas.microsoft.com/ado/2008/09/edm"
      Namespace="demo.services.demo">
      <<EntityType Name="trainingPlanType">
      <Key>
      <PropertyRef Name="PLANID"/>
      <PropertyRef Name="COURSEID"/>
      </Key>
      <Property Name="PLANID" Type="Edm.Int32" Nullable="false"/>
      <Property Name="COURSEID" Type="Edm.Int32" Nullable="false"/>
      <Property Name="COURSENAME" Type="Edm.String" Nullable="false"
      MaxLength="255"/>
      <Property Name="STARTDATE" Type="Edm.DateTime" Nullable="false"/>
      <Property Name="AVAILSEAT" Type="Edm.Int32" Nullable="false"/>
      <Property Name="TOTALSEATS" Type="Edm.Int32" Nullable="false"/>
      <Property Name="ROOMNO" Type="Edm.Int32" Nullable="false"/>
      <Property Name="COURSEDURATION" Type="Edm.String" MaxLength="255"/>
      </EntityType>
      <EntityContainer Name="demo" m:IsDefaultEntityContainer="true">
      <EntitySet Name="trainingPlan"
      EntityType="demo.services.demo.trainingPlanType"/>
      </EntityContainer>
      </Schema>
      </edmx:DataServices>
      </edmx:Edmx>









      share|improve this question
















      I was trying to connect an oData table to a smart table in my web ide using the following code.
      I have seen the metadata of my oData and the entity set I want to access is trainingPlan.
      PLANID and COURSEID are 2 columns in the table I am accessing.
      In the result screen just the empty toolbar is coming and 'no data' is written beneath it.
      The table is accessible as I tried to display using normal table and the data is showing.



      #App.view.xml
      <core:View xmlns:core="sap.ui.core" xmlns="sap.m" xmlns:smartFilterBar="sap.ui.comp.smartfilterbar"
      xmlns:smartTable="sap.ui.comp.smarttable" xmlns:html="http://www.w3.org/1999/xhtml"
      xmlns:app="http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1" controllerName="Workspace.controller.App" height="100%">
      <smartFilterBar:SmartFilterBar id="smartFilterBar" entitySet="trainingPlan" persistencyKey="SmartFilter_Explored" enableBasicSearch="true" >
      <smartFilterBar:controlConfiguration>
      <smartFilterBar:ControlConfiguration key="PLANID"></smartFilterBar:ControlConfiguration>
      <smartFilterBar:ControlConfiguration key="COURSEID"></smartFilterBar:ControlConfiguration>
      </smartFilterBar:controlConfiguration>
      </smartFilterBar:SmartFilterBar>
      <smartTable:SmartTable entitySet="trainingPlan" initiallyVisibleFields="PLANID" smartFilterId="smartFilterBar" tableType="ResponsiveTable" useExportToExcel="true"
      useVariantManagement="false" useTablePersonalisation="true" header="Line Items" showRowCount="true" tableBindingPath="TEST>/trainingPlan"
      persistencyKey="SmartTableAnalytical_Explored" enableAutoBinding="true" demandPopin="true" class="sapUiResponsiveContentPadding"
      />
      </core:View>

      #metadata.xml
      <edmx:Edmx xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx"
      Version="1.0">
      <edmx:DataServices
      xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"
      m:DataServiceVersion="2.0">
      <Schema xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
      xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"
      xmlns="http://schemas.microsoft.com/ado/2008/09/edm"
      Namespace="demo.services.demo">
      <<EntityType Name="trainingPlanType">
      <Key>
      <PropertyRef Name="PLANID"/>
      <PropertyRef Name="COURSEID"/>
      </Key>
      <Property Name="PLANID" Type="Edm.Int32" Nullable="false"/>
      <Property Name="COURSEID" Type="Edm.Int32" Nullable="false"/>
      <Property Name="COURSENAME" Type="Edm.String" Nullable="false"
      MaxLength="255"/>
      <Property Name="STARTDATE" Type="Edm.DateTime" Nullable="false"/>
      <Property Name="AVAILSEAT" Type="Edm.Int32" Nullable="false"/>
      <Property Name="TOTALSEATS" Type="Edm.Int32" Nullable="false"/>
      <Property Name="ROOMNO" Type="Edm.Int32" Nullable="false"/>
      <Property Name="COURSEDURATION" Type="Edm.String" MaxLength="255"/>
      </EntityType>
      <EntityContainer Name="demo" m:IsDefaultEntityContainer="true">
      <EntitySet Name="trainingPlan"
      EntityType="demo.services.demo.trainingPlanType"/>
      </EntityContainer>
      </Schema>
      </edmx:DataServices>
      </edmx:Edmx>






      sapui5






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 24 at 13:47







      Aayushk

















      asked Mar 24 at 13:17









      AayushkAayushk

      124




      124






















          1 Answer
          1






          active

          oldest

          votes


















          0














          I assume you used a custom Model "TEST" in your previous test.



          If you obtain the oData service data through the manifest without a named model change tableBindingPath to:
          tableBindingPath="/trainingPlan"






          share|improve this answer























            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55324204%2fcant-seem-to-connect-odata-table-to-a-smart-table%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            I assume you used a custom Model "TEST" in your previous test.



            If you obtain the oData service data through the manifest without a named model change tableBindingPath to:
            tableBindingPath="/trainingPlan"






            share|improve this answer



























              0














              I assume you used a custom Model "TEST" in your previous test.



              If you obtain the oData service data through the manifest without a named model change tableBindingPath to:
              tableBindingPath="/trainingPlan"






              share|improve this answer

























                0












                0








                0







                I assume you used a custom Model "TEST" in your previous test.



                If you obtain the oData service data through the manifest without a named model change tableBindingPath to:
                tableBindingPath="/trainingPlan"






                share|improve this answer













                I assume you used a custom Model "TEST" in your previous test.



                If you obtain the oData service data through the manifest without a named model change tableBindingPath to:
                tableBindingPath="/trainingPlan"







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 26 at 11:30









                MederaMedera

                12311




                12311





























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55324204%2fcant-seem-to-connect-odata-table-to-a-smart-table%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                    SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

                    은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현