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

Re: How to get Property from EntityType in ODATA

$
0
0

Hi Silvio,

 

Thanks for your reply.

 

I am working on  IconTab bar (SAPUI5 Explored)control and using ODATA to set the count value.

 

The ODATA entityset for seting count is ,

 

<EntityType Name="MyDataOverview" sap:content-version="1">

<Key>

<PropertyRef Name="Id"/>

</Key>

<Property Name="Id" Type="Edm.String" Nullable="false"  sap:rbShowValueText="false" sap:label="ID for Odata" sap:creatable="false" sap:updatable="false" sap:filterable="false"/>

<Property Name="CompleteText" Type="Edm.String" Nullable="false" MaxLength="30"  sap:rbShowValueText="false" sap:label="Completed" sap:creatable="false" sap:updatable="false" sap:filterable="false"/>

<Property Name="completeCount" Type="Edm.Int32"  sap:rbShowValue="false" sap:label="Count Complted" sap:creatable="false" sap:updatable="false" sap:filterable="false"/>

<Property Name="InProgressText" Type="Edm.String" Nullable="false" MaxLength="30"  sap:rbShowValueText="false" sap:label="In Progress" sap:creatable="false" sap:updatable="false" sap:filterable="false"/>

<Property Name="InProgressCount" Type="Edm.Int32"  sap:rbShowValue="false" sap:label="Count InProgress" sap:creatable="false" sap:updatable="false" sap:filterable="false"/>

<Property Name="FailedText" Type="Edm.String" Nullable="false" MaxLength="30"  sap:rbShowValueText="false" sap:label="Failed" sap:creatable="false" sap:updatable="false" sap:filterable="false"/>

<Property Name="FailedCount" Type="Edm.Int32"  sap:rbShowValue="false" sap:label="Count Failed" sap:creatable="false" sap:updatable="false" sap:filterable="false"/>

</EntityType>

 

How I can set the completeCount to count property of IconTab bar in View

 

Thanks,

Sandeep


Viewing all articles
Browse latest Browse all 2801

Trending Articles



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