
<EntityType Name="Customer" sap:content-version="1">
<Key>
<PropertyRef Name="Id"/>
</Key>
<Property Name="Id" Type="Edm.String" Nullable="false" MaxLength="10" sap:label="Customer ID" sap:creatable="false" sap:updatable="false"/>
<Property Name="Customername" Type="Edm.String" Nullable="false" MaxLength="40" sap:label="Customer" sap:creatable="true" sap:updatable="true"/>
</EntityType>
<smartField:SmartField value="{Id}" id="id"/>
<smartField:SmartField value="{Customername}" id="customer"/>
<smartTable:SmartTable id="smartTable" entitySet="Customers"
initiallyVisibleFields="Id,Customername"
customData:useSmartField="true">
...
</smartTable:SmartTable>
<smartForm:SmartForm id="smartForm" entityType="Customer">
<smartForm:Group label="Customer Details" id="detailGroup">
<smartForm:GroupElement id="idGroupElement">
<smartField:SmartField value="{Id}" id="id"/>
</smartForm:GroupElement>
<smartForm:GroupElement id="customerGroupElement">
<smartField:SmartField value="{Customername}" id="customer"/>
</smartForm:GroupElement>
</smartForm:Group>
...
</smartForm:SmartForm>
<EntityType Name="Customer" sap:content-version="1">
<Key>
<PropertyRef Name="Id"/>
</Key>
<Property Name="Id" Type="Edm.String" Nullable="false" MaxLength="10" sap:label="Customer ID" sap:creatable="false" sap:updatable="false"/>
<Property Name="Customername" Type="Edm.String" Nullable="false" MaxLength="40" sap:label="Customer" sap:creatable="true" sap:updatable="true"/>
<Property Name="Street" Type="Edm.String" Nullable="true" MaxLength="30" sap:label="Street" sap:field-control="UX_FC_Address"/>
<Property Name="City" Type="Edm.String" Nullable="true" MaxLength="30" sap:label="City" sap:field-control="UX_FC_Address"/>
<Property Name="UX_FC_Address" Type="Byte"/>
</EntityType>
[
{"Id": "1", "Customername": "CustomerA", "Street": "StreetA", "City": "CityA", "UX_FC_Address": 0 },
{"Id": "2", "Customername": "CustomerB", "Street": "StreetB", "City": "CityB", "UX_FC_Address": 1 },
{"Id": "3", "Customername": "CustomerC", "Street": "StreetC", "City": "CityC", "UX_FC_Address": 3 },
{"Id": "4", "Customername": "CustomerD", "Street": "StreetD", "City": "CityD", "UX_FC_Address": 7 }
]
<smartForm:Group label="Customer Details" id="detailGroup">
<smartForm:GroupElement id="idGroupElement">
<smartField:SmartField value="{Id}" id="id"/>
</smartForm:GroupElement>
<smartForm:GroupElement id="customerGroupElement">
<smartField:SmartField value="{Customername}" id="customer"/>
</smartForm:GroupElement>
</smartForm:Group>
<smartForm:Group label="Address" id="addressGroup">
<smartForm:GroupElement id="streetGroupElement">
<smartField:SmartField value="{Street}" id="street"/>
</smartForm:GroupElement>
<smartForm:GroupElement id="cityGroupElement">
<smartField:SmartField value="{City}" id="city"/>
</smartForm:GroupElement>
</smartForm:Group>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
16 | |
14 | |
11 | |
11 | |
11 | |
9 | |
9 | |
8 | |
7 | |
6 |