Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Greetings!!!
can anyone please explain me how to use ValueDisplay Widget?
I've a requirement like, There are few values available lets assume R1-R4(service result). so how can I use valueDisplay widget to show R3 in RED color.
Solved! Go to Solution.
Example: If the service output is R3 - text color red ; else text color black
Steps:
For More Information : StateDefinition
Are you looking to display each value in a separate display or you want to pick between R1-R4 and that shows up in the display?
If you want just one display, then you probably can do it with a mashup parameter or session parameter or service and write your selection to that and then from that populate the value display.
Apply state based definitions to the value display to show the proper color states.
If you need different limits, those have to be provided as values as well.
Hi,
I want R3 in red where R1,R2 and R4 are in green if service gives me output as R3.
please provide me detailed steps or any article that can fulfill my requirement.
Thanks!
You can use a service to determine the states of R1-R4 and what is selected and create an output from that to display the values necessary but also add a specific 'state' column that can drive the state based definition.
Thanks for your response
as I'm new for this, can you please elaborate in detail?
I've collection mashup to show R1-R4 value display widget, need to understand details of service and how to access state based. Thanks.
Is your service returning 1 in 4 answers everytime, and you need to mark the output in the 4 row of data?
And why don't you use the Grid widget to present the 4 rows of data?
If the data is not in 4 rows but just 4 strings, have you tried Radio button?
Example: If the service output is R3 - text color red ; else text color black
Steps:
For More Information : StateDefinition
Thanks issue is resolved