How to mask out the "None" Impact value

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

Description:

When trying to mask out the "None" Impact value for end users creating an incident, data partitioning on the Impact table is ineffective, and rendering theentry as "Inactive" is unsupported. How to mask out the value from end user display.

Solution:

The solution is to create a data partition and a web page customisation:

  • Create the following Data Partition Constraint (removing any existing constraints in place for "View" on table Impact:

    Table: Impact

    Type: View

    Code: enum in (1,2,3,4,5)

  • Access the detail_in.htmpl (make sure it is a copy in site/mods). Locate this line:

    <PDM_MACRO name=dtlDropdown hdr="Impact" attr=impact evt="onBlur='manual_modify();detailSyncEditForms(this)'" lookup=no>

    Modify the line so that it reads as:

    <PDM_MACRO name=dtlDropdown hdr="Impact" attr=impact evt="onBlur='manual_modify();detailSyncEditForms(this)'" lookup=no initial="">