Change the default value of the Tab in the slidebar/contextual sidebar of the Risk Workspace

m_sawant
Tera Contributor

Hi folks, 

 

We would like to change the default value of the contextual sidebar of the risk workspace. I have managed to change the order of the tabs. Now the "Record Information" Tab is on the second position but when the risk Workspace is opened or when the page is loaded the default value is still the same. 
Attaching the screenshot for the reference.

Thanks in advance for you help. 

3 REPLIES 3

Community Alums
Not applicable

Hi @m_sawant ,

How did you manage to change the positions ? 

If you are using UI builder to do this job, then you need to repeat this process of configuration for the respective Page variants too.

For example  for SOW,:

  1. Navigate to All > Now Experience Framework > UI Builder.
  2. From the Experiences list, select Service Operations Workspace.
  3. Under the Pages and variants list, select SRP Record.
  4. From the left of the UI Builder area, navigate to Body > Resizable panes > right, and select Tab sidebar.
  5. From the right of the UI builder, navigate to the Config > Tabs, and select the SOW - sidebar tabs top.
  6. Select the SandeepDutta_0-1737692944431.png

     

     icon to open the tab configuration.
    The pages and variants associated with contextual sidebar appears. For example, select the Agent assist SNC to add the Agent assist option in the sidebar.

 

m_sawant
Tera Contributor

Hi sandeep, 

Thanks for your response. I have tried the steps mentioned by you but that didn't solve the issue. 
So, answering your first question I have managed to change the position by navigating to sys_ux_app_route.LIST and found the records associated with the Macroponent (attaching the screenshot for reference) then I changed the order and accordingly the order was changed but when the page is loaded it takes me to the second option of the sidebar. 
Also, I went in to the UI builder and then to the right sidebar and opened the page and variants but I don't want to add the new options to the sidebar I just want to change their orders which I have done but it's still pointing to the second option of the sidebar. 

Yordan Staykov
Tera Contributor

Hi @m_sawant ,

 

You need to go to the "sys_ux_macroponent" table and look for the Page variant for which you are editing the contextual sidebar component for. You can easily navigate there if you capture your work in an Update set. In that Macroponent, in the composition field, either search for the sidebar component sys_id (the one in the "Parent component composition" field from the screenshot in your last comment, should be "ckjsfcbeeggaaaaaasddhhhycddamjjddeev"), or search for "reference-information", as that is the current tab set as default. You should find a piece of code that looks like this:

 

"defaultRoute": {
"type": "JSON_LITERAL",
"value": "reference-information"
},

 

Change the value with "risk-details", or whatever you prefer your default tab to be. 

 

Hope that helps!

 

Best,

Yordan