Wrong tab name in custom workspace experience

Kajal8
Tera Expert

Hello everyone,

When I'm navigating to my newly created workspace, it is first showing 'Home' in tab name then it is changing to 'TASK0010001'. It should show 'Home'. Can somebody help me on this?

4 REPLIES 4

Riya Verma
Kilo Sage
Kilo Sage

Hi @Kajal8 ,

 

Hope you are doing great.

To ensure that the tab name consistently displays 'Home' when accessing your workspace, you need to adjust the settings for the workspace's homepage. Try using below steps to resolve this issue:

  1. Open the ServiceNow Studio by navigating to the Application Navigator and searching for "Studio."
  2. In ServiceNow Studio, locate and open the workspace that you're encountering the issue with.
  3. Within the workspace, navigate to the "Pages" section or the specific page that is set as the homepage.
  4. Look for the page configuration that determines the title displayed in the browser tab. This configuration can be found in the HTML code of the page.
  5. Locate the HTML code snippet that sets the page title and make sure it is configured to display 'Home'. If it is currently set to 'TASK0010001', modify it to 'Home'. Example : 

 

<title>Home</title>​

 

  • Save the changes made to the HTML code.
Please mark the appropriate response as correct answer and helpful, This may help other community users to follow correct solution.
Regards,
Riya Verma

Kajal8
Tera Expert

I want to do this for CSM/FSM configurable workspace. Is it possible?

 

@Kajal8 , yes it is feasible for CSM/FSM configurable workspace too. If we don't have Home tab in this then you can create a new tab i.e ui action following below steps:

  1. Create new UI policy, and give name as Home

  2. Define the condition of Ui policy

 

current.form.name == 'Your Workspace Form Name'

 

  • Create a client script

 

// Replace 'Your Workspace Form Name' with the actual name of the workspace form
if (g_form.getFormElement().name == 'Your Workspace Form Name') {
  g_form.setTabCaption('Home');
}

 

  • Apply the UI policy and client script to the workspace

 

 

Please mark the appropriate response as correct answer and helpful, This may help other community users to follow correct solution.
Regards,
Riya Verma

Mounika Allaka
Tera Contributor

Hi Kajal, 

 

Is this issue resolved? Can you please share the solution for this