Document toolboxDocument toolbox

2. Search and advanced search

If you need to do more complex searches by e.g. combine search conditions you can use the Search (2) option

The Search dialogue box is divided in two tabs:

  • Search 

  • Advanced search

2.1 Search

What you can search for will be determined by which module you are opening the search dialogue from. If you e.g. open a search from the Item module, all Item properties and specifications will show in the attribute list.

In the Search tab, you can search in all properties by:

  1. Select Properties from the drop-down menu

2. Select search method. This menu will adjust depending on attribute.

3.Select search value

 

You can add more conditions by selecting the + icon. If you want to remove a condition, select:

If you have more than one search condition, you can use the option in the top where you can decide whether you want all criteria to Match all of the following or Match any of the following;

  • Match all of the following: Search result need to fulfill all conditions

  • Match any of the following: Search result must fulfill at least one of the conditions

 

There are two types of criteria for text search which require detailed explanation:

Pattern: The pattern option allows you to create a more precise search function where you can use the ? and * characters as wildcards to represent a random character or several random characters. You use the | character to denote or group expressions with brackets. The search code S1??(N|M)* will provide all results which start with S1 and have either N or M as 5 characters. Not pattern means everything with the exception of search results. For example, *BA will return all which do not end in BA.
Regular expression: Using regular expressions, you can create extremely advanced search expression using pattern in text.

Documentation of this is available: here 

Save search

You can save a search by:

  • Selecting "Save".

  • Give the saved search a name

  • Define whether you want to share the search with other users or if it's only should be visible for you.

You can find all the saved searches using the drop-down in the quick search field;

You can also edit or delete saved searches from the ribbon menu by selecting "Edit search" or "Delete search";

2.2 Advanced search

In the Advanced search, you can set one or several top conditions and build an even more advanced search. This can be useful if you e.g. want to search within a certain selection of items or rooms.

Example: Find all items that are set "To be modeled" and have Responsibility groups ARC (Architect) and/or ID (Interior Designer).

To accomplish this, we need to create two top conditions:

  • Condition 1: Find all items with the responsibility ARC or ID

  • Condition 2: Find out which of the items from condition 1 is set to be modeled.

The search will look like this using advanced search;

 

  • Selected 'And' to combine the two conditions, and the result would only show Items that were connected to both responsibility groups (which is not allowed in dRofus so the search would return blank).

Then we created a new top condition (Condition 2). Here we want to find all items within Condition 1 that are set To be modeled. Select "Add root condition" and find "To be modeled" as the search criteria shown in the image above. 

We now have two conditions (1 and 2). What's left to do is to determine how these two conditions shall be combined. We have selected "And" in this case because we want our search results to fulfill both conditions;

Condition 1: (Items must have responsibility ARC or ID) And...Condition 2 (Items must be set to be modeled)

Searches created in complex filters can be saved, edited, and deleted similar to searches created in simple filters.