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
![](../../../__attachments/2568454470/image-20220708-175148.png?inst-v=0afdfd47-3bc6-4c62-adaf-adf72ef5899e)
The Search dialogue box is divided in two tabs:
Search
Advanced search
![](../../../__attachments/2568454470/image-20220708-175732.png?inst-v=0afdfd47-3bc6-4c62-adaf-adf72ef5899e)
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:
Select Properties from the drop-down menu
![](../../../__attachments/2568454470/image-20230330-174637.png?inst-v=0afdfd47-3bc6-4c62-adaf-adf72ef5899e)
2. Select search method. This menu will adjust depending on attribute.
![](../../../__attachments/2568454470/image-20230330-174806.png?inst-v=0afdfd47-3bc6-4c62-adaf-adf72ef5899e)
3.Select search value
![](../../../__attachments/2568454470/image-20220708-182423.png?inst-v=0afdfd47-3bc6-4c62-adaf-adf72ef5899e)
Search will find all Items with the selected responsibility “ARC”
![](../../../__attachments/2568454470/image-20220708-183945.png?inst-v=0afdfd47-3bc6-4c62-adaf-adf72ef5899e)
You can add more conditions by selecting the + icon. If you want to remove a condition, select:
![](../../../__attachments/2568454470/image-20220708-183745.png?inst-v=0afdfd47-3bc6-4c62-adaf-adf72ef5899e)
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
![](../../../__attachments/2568454470/image-20220708-184208.png?inst-v=0afdfd47-3bc6-4c62-adaf-adf72ef5899e)
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.
![](../../../__attachments/2568454470/image-20220708-184525.png?inst-v=0afdfd47-3bc6-4c62-adaf-adf72ef5899e)
You can find all the saved searches using the drop-down in the quick search field;
![](../../../__attachments/2568454470/image-20220708-184909.png?inst-v=0afdfd47-3bc6-4c62-adaf-adf72ef5899e)
You can also edit or delete saved searches from the ribbon menu by selecting "Edit search" or "Delete search";
![](../../../__attachments/2568454470/image-20220708-185321.png?inst-v=0afdfd47-3bc6-4c62-adaf-adf72ef5899e)
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;
![](../../../__attachments/2568454470/image-20220708-185918.png?inst-v=0afdfd47-3bc6-4c62-adaf-adf72ef5899e)
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.