Skip to Content
0
Oct 09 at 12:58 PM

CAP Metadata, "Type" attribute on property is missing

53 Views Last edit Oct 09 at 01:02 PM 4 rev

Hi,

View calculated fields are missing of the "Type" attribute in metadata, even if annotated with @odata.Type, look at property copiesSold:

<EntityType Name="BooksTotalSales">
    <Key>
        <PropertyRef Name="book_ID"/>
    </Key>
    <Property Name="book_ID" Type="Edm.Int32" Nullable="false"/>
    <Property Name="title" Type="Edm.String"/>
    <Property Name="copiesSold"/>
</EntityType>

Repo to reproduce:

https://github.com/sbarzaghialteaup/test-type-view-fields

Thanks for support

Ciao

Sam