on 2016 Jun 30 7:38 AM
Dear experts,
I have been trying to display HCP IoT data on Fiori OVP Cards but don’t seem to be able to find a complete reference especially of the UI.ChartDefinitionType. Specifically, I cannot replace the table column names with labels as highlighted below:
Is there a complete annotation reference with detailed examples? I checked the official Annotations Used in Overview Pages documentation, but that does not seem to go into that level of detail. Please find my annotations file attached.
Many thanks for any help in advance
Frank
Labels for these properties should be read from the metadata.xml file.
Are labels maintained there?
For example:
In Annotation File:
<PropertyValue Property="Measure" PropertyPath="MyCurrency"/>
Should have corresponding Label in the metadata:
<Property Name="MyCurrency" Type="Edm.Decimal" Precision="16" Scale="3" sap:aggregation-role="measure" sap:unit="CCurrency" sap:label="CountryCurrency" sap:filterable="false"/>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Suneet,
thank you very much for your quick reply. However, editing the metadata.xml file does not seem to have the desired effect.
This is the line in my annotation file:
<PropertyValue Property="Measure" PropertyPath="C_DISTANCE"/>
I then search my metadata.xml file and find a respective entry that I amend with a sap:label property:
<Property Name="C_DISTANCE" Type="Edm.Double" mms:ColumnName="C_DISTANCE"
xmlns:mms="com.sap.iotservices.mms"
sap:label="Distance">
</Property>
Unfortunately re-running the application, this setting does not seem to have the desired effect.
Am I missing something?
Many thanks in advance for your help again
Frank
User | Count |
---|---|
62 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.