Hi,
on my SAPUI5 xml view i have the following semantic form:
<semantic:content>
<smartform:SmartForm id="addFlexRequest"
editable="true" title="Flexibilitätsanfrage hinzufügen" class="sapUiResponsiveMargin">
<smartform:Group id="addFlexRequestGroup" label="Anfrage">
<smartform:GroupElement>
<smartfield:SmartField id="id" value="{ID}" />
</smartform:GroupElement>
<smartform:GroupElement>
<smartfield:SmartField id="from" value="{FROM}" />
</smartform:GroupElement>
<smartform:GroupElement>
<smartfield:SmartField id="to" value="{TO}" />
</smartform:GroupElement>
<smartform:GroupElement>
<smartfield:SmartField id="performance" value="{PERFORMANCE}" />
</smartform:GroupElement>
</smartform:Group>
</smartform:SmartForm>
</semantic:content>
Everything works fine, besides the labels. As far as i know, the semantic form is reading the label out of the "sap:label" property in the metadata of the odata service.
How do i define such labels in my .xsodata file (or anywhere else)?
My .xsodata-file looks like this:
service namespace "FlexiForecast.services" {
"A627603"."FLEXIBILITYREQUESTS" as "FlexibilityRequests";
}
Thanks,
Tobias