Extend Actions on the Service Center homepage

Administrators can configure the Actions menu on the Service Center Home Page by adding custom buttons, reorganizing available actions, and prioritizing commonly used navigation or actions that aren't tied to a specific service request.

Use this feature when service agents need quick access to often used pages or actions directly from the Service Center home page. You can simplify the interface by removing seldom-used buttons and giving high-priority actions better placement.

First you create a UI element.

  1. In Visual Builder Studio, expand service, then go to ec/sr/service-home.
  2. Open the page property panel.
  3. Select the Constants subtab.
  4. Choose secondaryActionsConst.
  5. Click the + to create a new set of buttons.
    Note: Creating a new set of buttons replaces the standard button set. To keep any standard buttons, you must include them in your new button configuration.
  6. Open the array details using the > icon.
  7. Define the button properties:
    Property Description
    id Unique button ID used later to listen for click events.
    label Button label shown to users.
    display Controls whether the button is shown or hidden conditionally.

Now, you manage the button click event.

  1. Go to the Event Listeners tab.
  2. Create a fireSecondaryActions event listener.
  3. Go to the created action chain.
  4. Use the button ID passed in the payload to identify which button was clicked.
  5. If you have multiple buttons, add a switch condition.
  6. Use event.actionId to check the selected button and run the appropriate action.