UI Builder App shell - Chrome Menu page routes

Tadz
Tera Guru
Tera Guru

Hi Everyone,

Can someone explain to me how UX Page Properties (sys_ux_page_property) works.

And what is the format for the value.

I got these sample values from https://www.ninjabytes.blog/uib_basic/add-simple-navigation-menu-and-actions/

[
  {
    "value": {
      "label": {
        "translatable": true,
        "message": "Knowedge"
      }
    },
    "children": {
      "action": {
        "label": {
          "translatable": true,
          "message": "Report an issue"
        },
        "type": "route",
        "rightIcon": "chevron-right-fill",
        "value": {
          "route": "catalog",
          "fields": {
            "sysId": "3f1dd0320a0a0b99000a53f7604a2ef9"
          }
        }
      },
      "items": [
        {
          "value": {
            "label": {
              "translatable": true,
              "message": "Categories"
            }
          },
          "children": {
            "action": {
              "label": {
                "translatable": true,
                "message": "Browse All"
              },
              "type": "route",
              "rightIcon": "chevron-right-fill",
              "value": {
                "route": "article",
                "fields": {
                  "sysId": "3020c9b1474321009db4b5b08b9a712d"
                }
              }
            },
            "items": [
              {
                "value": {
                  "label": {
                    "translatable": true,
                    "message": "IT"
                  },
                  "type": "route",
                  "value": {
                    "route": "article",
                    "fields": {
                      "sysId": "3020c9b1474321009db4b5b08b9a712d"
                    }
                  }
                }
              },
              {
                "value": {
                  "label": {
                    "translatable": true,
                    "message": "Benefits"
                  },
                  "type": "route",
                  "value": {
                    "route": "article",
                    "fields": {
                      "sysId": "3020c9b1474321009db4b5b08b9a712d"
                    }
                  }
                }
              }
            ]
          }
        }
      ]
    }
  }
]
1 ACCEPTED SOLUTION

Tadz
Tera Guru
Tera Guru

Hi I have found the answer.

Please see https://docs.servicenow.com/bundle/sandiego-application-development/page/app-store/dev_portal/API_reference/helpers/concept/helpersAPI.html

for reference

find_real_file.png

View solution in original post

1 REPLY 1

Tadz
Tera Guru
Tera Guru

Hi I have found the answer.

Please see https://docs.servicenow.com/bundle/sandiego-application-development/page/app-store/dev_portal/API_reference/helpers/concept/helpersAPI.html

for reference

find_real_file.png