Mahdi Ansari created OLINGO-1458: ------------------------------------ Summary: How can I order the properties in $metadata file? Key: OLINGO-1458 URL: https://issues.apache.org/jira/browse/OLINGO-1458 Project: Olingo Issue Type: Question Reporter: Mahdi Ansari
How can I order the properties or fields in the {{$metadata}} file in {{Olingo2}}? At the moment there is alphabetic order between the properties inside metadata file. {{<EntityType Name="Condition"><Key><PropertyRef Name="Id"/></Key><Property Name="ActionId" Type="Edm.String" Nullable="false" MaxLength="255"/><Property Name="Deleted" Type="Edm.Byte" Nullable="false"/><Property Name="Id" Type="Edm.Int32" Nullable="false"/><Property Name="Name" Type="Edm.String" Nullable="false" MaxLength="255"/></EntityType>}} However I want it like this, for example first the {{Id}} then {{Name}} and so on in the metadata. {{<EntityType Name="Condition"><Key><PropertyRef Name="Id"/></Key><Property Name="Id" Type="Edm.Int32" Nullable="false"/><Property Name="Name" Type="Edm.String" Nullable="false" MaxLength="255"/><Property Name="ActionId" Type="Edm.String" Nullable="false" MaxLength="255"/><Property Name="Deleted" Type="Edm.Byte" Nullable="false"/></EntityType>}} -- This message was sent by Atlassian Jira (v8.3.4#803005)