Display Name Pages and Products Configuration

Page names and Product names displayed on Page hub can be configured using Display Naming Config (JSON) and Display Product Name Config (JSON) under Page hub configurations.

Display Name Page Configuration

Page names displayed on Page hub can be configured using Display Naming Config (JSON) when following Configuration settings are added under Page hub configurations.

Display Page Name Configuration

The configuration contains two parts:

  1. Enable

  2. Config

The function of each part is:

  1. Enable - In this part of the configuration, If User sets "enable": true, then page names on page hub display as per the Configuration set. If User sets "enable": false, then page names on page hub display the Original Page names.

  2. Config - In this part of the configuration, User can specify multiple parameters to create the page name to be displayed. Configuration Parameters could be:

  • PageNum

  • PremadePageLiteral

  • Section

  • PagePrefix

  • Edition

  • DateFormat

  • Part

Sample Configuration:

"displayNameConfig": {
                        "enable": true,
                        "config": [
                                {
                                        "PageNum": {
                                                "PageNum": 3,
                                                "Delimiter": "-"
                                        }
                                },
                                {
                                        "PremadePageLiteral": {
                                                "PremadePageLiteral": false,
                                                "PremadePageLiteral:N": 2,
                                                "Delimiter": "-"
                                        }
                                },
                                {
                                        "Section": {
                                                "Section": false,
                                                "Section:N": 5,
                                                "Delimiter": "-+"
                                        }
                                },
                                {
                                        "PagePrefix": {
                                                "PagePrefix": false,
                                                "PagePrefix:P": "default/Prefix",
                                                "Delimiter": "-"
                                        }
                                },
                                {
                                        "Edition": {
                                                "Edition": false,
                                                "Edition:N": 9,
                                                "Delimiter": "+"
                                        }
                                },
                                {
                                        "DateFormat": {
                                                "Delimiter": "_-+_",
                                                "DateFormat": "MMDDYYYY"
                                        }
                                },
                                {
                                        "Part": {
                                                "Part": false,
                                                "Part:N": 3,
                                                "Delimiter": "-"
                                        }
                                }
                                                ]
                }

Important Points: 1. If Display Naming Config (JSON) in the Page hub Configuration is blank, default (Original page name) names will be displayed.

  1. If display name Configuration is enabled, then Page hub filter “Filter by page name” will filter pages on display name.

Display Name Products Configuration

Product names displayed on Page hub in Product dropdown list can be configured using Display Product Name Config (JSON) when following Configuration settings are added under Page hub configurations.

Display Product Name Configuration

The configuration contains three parts:

  1. Sort

  2. Enable

  3. Config

The function of each part is:

  1. Sort - This part of the configuration allows user to add sorting (asc/desc) in the product name. If the sort key is added in the configuration it enables sorting, while removing the key or setting an incorrect value disables it.

  2. Enable - In this part of the configuration, If User sets "enable": true, then product names on page hub display as per the configuration set. If User sets "enable": false, then product names on page hub display the original product names

  3. Config - In this part of the configuration, User can add the mapping of original product name to Display Product name that should show on PageHub in the product dropdown list.

Sample Configuration:

{
        "displayProductNameConfig": {
                "sort": "ASC",
                "enable": true,
                "config": {
                        "TRY_SG": "TRYSG",
                        "TRY_PD": "TRYPD",
                        "PGH_02": "PGH02",
                        "NAV_TAB": "NAVTAB",
                        "SNM_AB": "SNM_AB",
                        "NW_SG": "NWSG1"

                }
        }
}

Important Points:

1. If Display Product Name Config (JSON) in the Page hub Configuration is blank, original product names will be displayed on PageHub in the Product dropdown list.

  1. If sort key is not added in the configuration, then default sorting from backend will be applied.

  2. User can also use only sorting key in the displayProductNameConfig. This will apply sorting in original product name.

{
        "displayProductNameConfig": {
                "sort": "desc"
                }
}