08-12-2020 06:53 AM
I have a column in a flexview that I’d like to display a color button depending on the value. I was able to make that working in the console but in Oneview it does display the column, but no color button or the value, only a dash string. I was looking at the BOSS vlan flexview how it was done for the “vlan status”, I did the same but without success. Any hints?
Solved! Go to Solution.
08-18-2020 01:44 PM
Hi,
It can be done = see example here
You can reverse engineer the example.
If your flexview works in Java Console then for OneView you need to manually edit the TPL file and change the value 2 (number) to 15 (string). The first number after EXPR;true represents the formating.
Example:
<dataField>SNMP::EXPR;true;15;
08-19-2020 11:07 AM
I have a github account but I’m a complete noob. I have Flex and Device View files or Nokia Service aggregation routers. I put the files here: https://1drv.ms/u/s!Ata1Shvsw6cAb28ZExTDUKqYjeE?e=JpqvCx
08-19-2020 09:16 AM
I am glad it worked for you! Congrats!
If you have a GitHub account then yes you can do it on your own!
if you do not have a GitHub account then I can do it. Share the FlexView with me (through private message or here).
08-19-2020 09:11 AM
Changing the value from 2 to 15 in the tpl file did the trick. Thanks! Can I share the Flexviews directly on github?
08-18-2020 01:45 PM
when you share the flexview then more people can benefit from it.