Skip to Content

Changing Label for CDS Annotation Fiori Element App using metadata extension

Hi Experts,

We have to change the label in Standard Fiori element app.I have written below code but it is only changing at filter only and not at column name:

cds-metadata-extension.png

fiori-element-app.png

Please suggest, how can I change the label of column.

Thanks,

Mansi

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Oct 14, 2018 at 05:41 AM

    Mansi,

    You also have to write UI annotation for Line item for which position you want to change.

    @UI.lineItem: [{position: 10 }]

    Just check the position of Sales Document in standard code and give the same number.

    Regards

    Tejas

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 14, 2018 at 06:56 PM

    Thanks Tejas for the reply.

    But the problem I have is that there is no line Item position mentioned in standard code.

    lineitem.png

    So, if I try to give position as 0 or 10, it is creating a new column instead of renaming the existing one.

    metadata-extension-code.png

    app-data.png

    Please suggest how to fix this.

    Thanks,

    Mansi


    lineitem.png (51.3 kB)
    app-data.png (36.8 kB)
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.