Migration of QPP-NG from v4.3.2 to v4.3.3

Configuration Details/Setup Requirement

Configuring Table Type Specific Metadata

To configure metadata values specific to each table type, administrators must modify the qaconfig.json file. This configuration allows associating metadata fields with specific table types and assigning distinct value lists for each.  

Configuration Details

The metaconfig section in qaconfig.json now supports defining metadata configurations that are specific to table types. The structure involves using the selector array to define different configurations based on the elementType field. 

Below is the configuration you need to add in the metaconfig section and include the selector array with configurations for each table type: 

{ 
  "metaconfig": { 
    "name": "di-display-columns", 
    "priority": "560", 
    "sort": "ASC", 
    "selector": [ 
      { 
        "element": "table", 
        "elementType": "tabletype1", 
        "sectionTypePath": "document", 
        "component": { 
          "name": "DomainValuePicker", 
          "valueField": "name", 
          "params": { 
            "domainName": "Source 1" 
          } 
        } 
      }, 
      { 
        "element": "table", 
        "elementType": "tabletype2", 
        "sectionTypePath": "document", 
        "component": { 
          "name": "DomainValuePicker", 
          "valueField": "name", 
          "params": { 
            "domainName": "Source 2" 
          } 
        } 
      } 
    ]