Clarity: The stage progress bar of the Investments By Scenario portlet shows active and inactive values

Document ID : KB000050404
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

In looking at an attribute for progress bar we noticed that the size of the bar is inconsistent. If no value is selected for the attribute used in filling the progress bar, the size of the bar is different that the size of the bar when values are selected. We deactivated some values in the Lookup list; could that be causing the progress bar to show a different size?

Steps to Reproduce:

  1. Login to Clarity as an administrator

  2. Main Application > Projects > [--Actions--] Configure

    Configure the Project List View to show the Project, Project Code, Stage on the Layout
    Navigate to Fields > Click 'New' button
    Display type = Progress Bar
    Click 'Submit' button
    Column Label = 'myProgressBar'
    Current Stage Name = Stage
    Current Stage Number = Stage Number
    Number of Stages = Stage Count
    Click 'Submit' button

    Figure 1

Solution:

This is functioning as expected. When no values are selected, for the attribute configured as the 'Number of Stages' attribute, the application equates the value to zero (0) and will use a default width. Once a value has been selected, then the progress bar will be redrawn and resized to match the size specified by the attribute configured for the progress bar size. When a value is selected, the resized progress bar will only include the count of active stages. The Current Stage Number is based on the activated Lookup Values and the order in which they have been added into the system. If Lookup Values are deactivated, the Current Stage Number may change based on the position of the active and deactivated Lookup Values.

Keywords: CLARITYKB, CLRT-50193, nab, virtual, how-to, configuration.