Skip to Content
author's profile photo Former Member
Former Member

How to bring about the Color Coding in the Smart templates for a column through CDS based on a flag?

Basically i have a back end system with data exposed as fields. I need to introduce a field for color coding in smart template which constitutes the traffic light icon in back end system. How do I go about creating a color coding scheme based on the calculated flag value from the fields in the table.?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 20, 2016 at 09:53 AM

    I forgot to mention. I tried the following annotation in CDS view:

    @UI.dataPoint: { title:'Flag',

    criticalityCalculation:{

    improvementDirection: #MINIMIZE,

    //deviationRangeLowValue: ,

    toleranceRangeLowValue: 2.0,

    //toleranceRangeHighValue: 4

    deviationRangeHighValue: 4.0

    }}

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 20, 2016 at 11:20 AM

    Hi Abhishek,

    For you requirement follow the below steps.

    1) Put graphics on your smart template

    2) Upload your traffic light icon images to SE78

    3) Show traffic light icon image based on your required condition.

    I hope it will work.

    Regards,

    Bhushan

    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.