Get the Flash Player to see the slideshow.

Truncated Measure Name in Multiple Measure Update Web form in CorStrategy

Posted by sw on November 19, 2009 under Corvu |

Often you will see that if by mistake or intentionally you named measures too long and used the same description in the short description field, users will see a truncated version of the measure name in the multiple measure update form.

Well rather than keep making the field width longer and longer every time something doesn’t display correctly I suggest making it a wrap field. And than it’s irrelevant how long it gets, users will be able to view the measure name at all times.


The multiple measure update web form gets created dynamically (
ajax) from the system controlled through a style sheet (css) which can be amended to a certain degree. One thing to consider is that when you upgrade CorStrategy next these changes will disappear/overwritten so make a shared log somewhere as you might have to do them all over again (may be once a year or so, shouldn’t be upgrading more than that anyway).

First of all, if you not a technical person than please get some assistance from internal IT boys.


Server Side Changes
First find out where your tomcat folder resided on the server, if it was installed correctly than it should be under \CorvuApps\Tomcat….

Otherwise ask somebody to check under “Control Panel\ Administrative Tools\Services\Apache Tomcat > properties > General Tab > Path to executable”, which should show you the path.

 

Once you know the path navigate to the following folder:
\Tomcat\webapps\CSM\Scorecard\csvupdateWithin this folder you will see a file called measure.css, open this file in notepad and look for an entry called .desc (half way down the file mostly)

The entry should look similar depending which version you are using:

 

 

 

.desc {
            width:250px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis
}

 

Change the nowrap to wrap, save and close the file. Amended entry should be as following:

 

.desc {
            width:250px;
            white-space: wrap;
            overflow: hidden;
            text-overflow: ellipsis
}

 

No restart required for tomcat and next time you open the multiple measure update web form, you will notice that long strings are wrapping automatically.

 

Some useful advice:
The reason Corstrategy i.e. CorVU provides the option of having a short and long measure name is that you try to keep your short description as short as possible and go overboard with the long measure field. For example if you have a National Indicator than the code (NI187) should be at the start of short description, this way it doesn’t matter whether whole description is visible or not at least user know what they looking at.

 

Hope this helps….

 

Shariq Wagener

Add A Comment