Skip to main content

Better Navigation in Connections Scripts

I haven’t touched the Connections scripts for a long time, but I recently made some minor updates to fix compatibility issues with newer versions and added small scripts to speed up configuration. I also got the documentation script running from the menu.

Today I addressed a common complaint about the menu system. Previously, it used only numbers for menu items, which meant that back and quit functions had different values across all submenus. This was confusing for users.

While adding a new script to set the CookieSameSite custom property for the Session manager, I took the opportunity to redesign the menu. Now, pressing [b] will take you back from submenus to the main menu, and [q] will quit the script menu entirely, providing consistent navigation throughout.

Here you can see the new main menu:

----------------------------------------------------------------------
             IBM WebSphere and HCL Connections Main Menu
----------------------------------------------------------------------


                        [1] Configuration
                        [2] Security Roles
                        [3] Check/Monitoring
                        [4] User Profiles
                        [5] Administration
                        [6] Documentation

                        [Q]uit | [H]elp

Please select a number:

versus the old one:

2014-06-12_17-45-44

And the configuration menu as example:

----------------------------------------------------------------------
        IBM WebSphere and HCL Connections Configuration Tasks
----------------------------------------------------------------------


                [1] Configure DataSources (Tuning)
                [2] Set JVM Heap Sizes (Tuning)
                [3] Set SystemOut and SystemErr Log Size
                [4] Set Log language to english
                [5] AppServer Monitoring Policy
                [6] Set Custom Cache Parameter
                [7] Set JVM Trace Settings
                [8] Set WebSession Timeout
                [9] Disable x-powered-by header
                [10] Set CookiesSameSite
                [11] Change DB server and port
                [12] Create new Cluster members
                [13] Synchronize all nodes

        [B]ack to main menu | [Q]uit | [H]elp

Please select a number:

versus the former version:

2014-06-12_17-46-59
Christoph Stoettner
Author
Christoph Stoettner
I work at Vegard IT GmbH as a senior consultant, focusing on collaboration software, Kubernetes, security, and automation. I primarily work with HCL Connections, WebSphere Application Server, Kubernetes, Ansible, Terraform, and Linux. My daily work occasionally leads to technical talks and blog articles, which I share here more or less regularly.

Related