Ujjawal Vishnoi
Mega Sage
Mega Sage

Add/Remove Tabs that are displayed on the case creation screen in HR Agent Workspace

When we create a new case from HR Agent Workspace then we see 2 tabs by default.

  1. Cases for subject person
  2. Interactions

find_real_file.png

It is controlled by a system property sn_hr_ws.case_creation_tabs.

The tab object contains the following configuration:

tab - {
title - string title that is shown in the tab
},
content - {
props - {
table - string name of the table in snakecase e.g. sn_hr_core_case ,
listTitle - string title for the list,
parentTable - string name of the table in snakecase e.g. sn_hr_core_case,
relatedListName - string name of the related list,
disableNewButton - boolean to determine if the new button is disabled,
query - string query to apply to the list. Use ${} around a column name to use it in a query e.g. ${subject_person} ,
view - string name of view
}

 

So if you want to remove any tab from the list then you can modify the JSON and can remove the unwanted related tab from the JSON in the value of the property.

And similarly you can add the JSON for needed  tab.

Version history
Last update:
‎09-29-2021 03:40 AM
Updated by: