Ankur Bawiskar
Tera Patron

Many times, we come across requirements where the “Create Shift” button needs to be hidden from the Schedules tab within the Service Operations Workspace.

 

Since this is handled through the UI Builder, a few carefully applied configuration changes can help you achieve this quickly and cleanly.

 

This guide will walk you through the exact steps to hide the button using a custom variant in UI Builder.

🔧 Before you begin:
Ensure you are working in the correct application scope:
On‑Call UI Components for Configurable Workspaces
Also make sure you have an update set created in the same scope.

 

 

Step‑by‑Step Guide

1️⃣ Open the UI Builder Page Variant

Open the following URL (update instanceName with your instance):

https://instanceName.service-now.com/now/builder/ui/edit/pc/7f732e0253c53110b256ddeeff7b123f/9c652e0e53493110b256ddeeff7b1283/a88fea8877cf2110ef9645cfbd5a9995

This loads the OOTB page variant used for the Schedules tab.

 

2️⃣ Duplicate the Existing Variant 📄➡️📄

  1. Click Settings (top-right)
  2. Select Duplicate
  3. Provide a meaningful name for your variant
  4. Click Create

This creates your own editable copy without modifying the OOTB configuration.

 

AnkurBawiskar_1-1767795943251.png

 

AnkurBawiskar_2-1767795957293.png

 

3️⃣ Open the New Variant in Editor ✏️

Click Open in editor to begin customizing the new variant.

AnkurBawiskar_3-1767795984819.png

 

4️⃣ Hide the “Create Shift” Button 👁️‍🗨

  1. Use the search bar to search for Create Shift Button in left side in Content section
  2. On the right-side Configuration panel:
    • Go to Configure → Hide Component
    • Set it to True
  3. Click Save

This ensures the button will no longer appear for users.

AnkurBawiskar_4-1767796088163.png

 

5️⃣ Set Variant Order to Take Precedence 🔝

To ensure your custom variant overrides the OOTB one:

  1. Open Settings again
  2. Set Order = -1
  3. Click Save

A lower order number means higher priority during rendering.

AnkurBawiskar_5-1767796126123.png

 

📸 Before & After

Before:

AnkurBawiskar_6-1767796156584.png

 

After: “Create Shift” button is now successfully hidden from Service Operations Workspace. 🎉
 
AnkurBawiskar_7-1767796187201.png

 

Version history
Last update:
yesterday
Updated by:
Contributors