Workspace edit

devservicenow k
Tera Contributor

 

 

 

 

so My Company will be the 3rd in the Order.

 

and the I need to add Filters to the records .

how to do this any idea?

5 REPLIES 5

Kristen Ankeny
Kilo Sage

After some digging.

 

If you have not already, the oob landing page and overview pages are not editable. 

 

  • Open UI builder
  • Open Service Operations Workspace
  • In Variants, locate "Service Desk Landing Page SNC"
    • Choose the three dots next to it and duplicate
    • When that is done, on the original variant, choose the three dots and go to edit page variant settings and deactivate it
    • Now your copy is the active variant
  • Select the variant and in the middle section, click on the "Edit content" on the "Overview" box
  • Do the same steps you did above to create a new variant for the Service desk landing page overview SNC and deactivate the original one
  • Now, in your new overview page, click on the drop down to select that content
  • In the config under items, click edit and add your new option.
  • Save
  • The next part I haven't completely worked out, but I will give you the tips that I can see in areas you'll need to update. 
    • Under client scripts, I found one called UpdateCurrentVizSelection
      • In this script, you'll notice that is is considering whether team_work is selected and setting the variables currentVizSelection based on that. You should update this script to include the option for selecting My Company
      • Then navigate to sys_ux_client_script_include and search for "SowIncidentLandingPageUtils"
        • There are two - one SNC that is read only and one that is editable.
        • I believe if you mimic the const.query in the editable version and add the settings for My company, it should fetch that new information for filtering the lists.

I'm not sure if there are other areas that might need to be update, but start with that.