Difference between revisions of "Save View and Search Expressions"

From WICE Wiki v2.89
Jump to navigation Jump to search
(Updated save view information)
Line 9: Line 9:
# Adjust column width to fit inside the window.
# Adjust column width to fit inside the window.
# The binoculars is used to load a saved view. Right click to load a default view.
# The binoculars is used to load a saved view. Right click to load a default view.
# The binoculars with an add sign is used to save the current view. Right click for create a default view (This requires admin access)
# The binoculars with an add sign is used to save the current view. Right click for create a default view (requires administrator access rights)
# The magnifying glass is used to load a saved search expression
# The magnifying glass is used to load a saved search expression
# The magnifying glass with and add sign is used to save the currently entered search expression
# The magnifying glass with and add sign is used to save the currently entered search expression
Line 26: Line 26:


== Save view for new user ==
== Save view for new user ==
To save views that will be created for new user you do equals as "Save View" but enter that menu by right click on the binoculars-icon. This requires admin access. You can create several views and mark one as default and if the column width should fit inside the window. These views will be copy to the new users standard views.  
To save views that will be created for new user you do as above in "Save View" but enter that menu by right clicking on the binoculars-icon. This requires administrator access rights. You can create several views and mark one as default and if the column width should fit inside the window. These views will be copy as standard views when creating new users.  


On right click for save view there is as well a fast function for saving current view as default for new user, "Save current view for new user". It create a view with name "default" and mark it as default.  
By right clicking "Save View", there is as a short-cut for saving the current view as default for new user, "Save current view for new user". It creates a view with name "default" and mark it as default.  


The views for new user can be access by right click on the binoculars-icon for "Load view". This is available for all users, even those without admin access.
The views for new users can be accessed by right clicking on the binoculars icon for "Load view". This is available for all users, even those without administrator access rights.


== Save Search Expression ==
== Save Search Expression ==

Revision as of 10:30, 9 April 2021

The icons presented below, found for instance in the bottom right corner in the "Tasks" and "Vehicles"-tabs, can be used to save and load panel views and search expressions. A view is in this sense defined as the set of visible panel columns and a search expression is the values entered into the columns fields.


View and Search Expression


Functionality of these icons from left is as follows:

  1. Adjust column width to fit inside the window.
  2. The binoculars is used to load a saved view. Right click to load a default view.
  3. The binoculars with an add sign is used to save the current view. Right click for create a default view (requires administrator access rights)
  4. The magnifying glass is used to load a saved search expression
  5. The magnifying glass with and add sign is used to save the currently entered search expression
  6. The sweep icon is used to clear the current search expression

Save View

To save a view first selected the desired set of visible columns for the panel at hand and change to the desired width of columns (width will only be saved for vehicles, user and task panel). Thereafter save the view by clicking the binoculars with and add sign and enter a view name of choice as presented in Figure "Save View". Mark "Fit to window" if the columns width should be adjust to fit inside the window. This can also change for already saved views by clicking on the width icon in the list. If it is highlighted the view will adjust to window.

To load a saved view click the binoculars-icon, select the wanted view in the list and press "Apply view". This window is presented in Figure "Load View". A view can also be deleted using the corresponding remove-icon for the view item. The columns included in the saved view is listed upon record hover. If a view is applied which do not include a column for which a search expression is currently entered, this column is viewed anyway. To mark a view as default click the icon hovered in Figure "Mark View as Default". There can only be one default view per panel and this view is automatically loaded upon log in.

Save view for new user

To save views that will be created for new user you do as above in "Save View" but enter that menu by right clicking on the binoculars-icon. This requires administrator access rights. You can create several views and mark one as default and if the column width should fit inside the window. These views will be copy as standard views when creating new users.

By right clicking "Save View", there is as a short-cut for saving the current view as default for new user, "Save current view for new user". It creates a view with name "default" and mark it as default.

The views for new users can be accessed by right clicking on the binoculars icon for "Load view". This is available for all users, even those without administrator access rights.

Save Search Expression

Start with adding one or more search expressions in the search fields using the magnifying glass icon with an add sign. To save an expression, use the button to right marked in red and a new window will popup as you can see in Figure "Save Search Expression". Type a name for the expression, e.g. "My first expression" and press "Save search".


To apply a saved expression, click the magnifying glass icon and select it in the list, see Figure "Load Search Expression". When "Apply search" is pressed the expression is entered into the visible columns. If the expression entail a term where the corresponding column is not currently visible, this column is shown. In this view it is also possible to delete saved expressions by simply clicking the delete icon right to the save title. It is also possible to preview the expression by hovering the tile.

It is also possible to pair a view to the saved search expression. This can be achieved in two ways, one of which is to clicking the pin icon hovered in Figure "Pair Search and View - Icon" for the search expression in question, thus resulting in the additional window with radio button selection presented in Figure "Pair Search and View - Window". The other is to press the button "Select Search Views" and to use the pop up dialog visible in Figure "Pair Search and View - Dialog" where the view is selected from the drop down menu.


The main difference between the two ways is that in the dialog it is possible to administer the view connections for several search expressions simultaneously. It is possible to select from all the currently saved view and the "NONE"-option. The latter meaning that the view will be unchanged when the search expression is applied, except for the case when the expression entails a column which is not currently visible. If the search expression is paired with a view that does not include all columns found in the expression this column is shown anyway.