|
| 1 | +--- |
| 2 | +sidebar_position: 10 |
| 3 | +title: Searches |
| 4 | +--- |
| 5 | + |
| 6 | +Searches |
| 7 | +======== |
| 8 | + |
| 9 | +Introduction |
| 10 | +------------ |
| 11 | + |
| 12 | +Searches in Simplicité allow predefined filters to be saved on object lists. |
| 13 | + |
| 14 | +They provide a quick way to access frequently used filtered views without |
| 15 | +redefining criteria each time. |
| 16 | + |
| 17 | +Saved searches can be personal or public, depending on configuration. |
| 18 | + |
| 19 | +A recommended approach is to create public Searches using the **designer** |
| 20 | +and associate them with views or dashboard components. |
| 21 | + |
| 22 | +Configuration |
| 23 | +------------- |
| 24 | + |
| 25 | +| Field | Description | |
| 26 | +| ----------- | -------------------------------------------------------------- | |
| 27 | +| Object Code | Business object on which the search applies | |
| 28 | +| User Login | Owner of the search | |
| 29 | +| Name | Name displayed in the search selector | |
| 30 | +| Public | If enabled, the search is visible to other users | |
| 31 | +| Filters | JSON definition of the applied filters | |
| 32 | +| Module Name | Defines the [module](/make/project/module) to which it belongs | |
| 33 | + |
| 34 | +### Personal Searches |
| 35 | + |
| 36 | +- Visible only to the user who created them. |
| 37 | +- Useful for individual working filters. |
| 38 | +- Ideal for temporary or user-specific criteria. |
| 39 | + |
| 40 | +### Public Searches |
| 41 | + |
| 42 | +- Visible to other authorized users. |
| 43 | +- Useful for shared in views, dashboards. |
| 44 | + |
| 45 | +Filters |
| 46 | +------- |
| 47 | + |
| 48 | +Filters are stored in JSON format and represent the applied list criteria. |
| 49 | + |
| 50 | +Example: |
| 51 | + |
| 52 | +```json |
| 53 | +{ |
| 54 | + "log_event_id__lev_level": ["F", "E", "W"] |
| 55 | +} |
| 56 | +``` |
| 57 | + |
| 58 | +Another example: |
| 59 | + |
| 60 | +```json |
| 61 | +{ |
| 62 | + "order__job_start_dt": -1 |
| 63 | +} |
| 64 | +``` |
| 65 | + |
| 66 | +The JSON structure reflects: |
| 67 | + |
| 68 | +- Field-based filters |
| 69 | +- Multi-value selections |
| 70 | +- Advanced search conditions |
| 71 | + |
| 72 | +Integration with Views and Dashboards |
| 73 | +-------------------------------------- |
| 74 | + |
| 75 | +The recommended pattern is: |
| 76 | + |
| 77 | +1. Save the Search using the **designer**. |
| 78 | +2. Mark it as Public if it must be shared. |
| 79 | +3. Associate the Search with: |
| 80 | + - A View |
| 81 | + - A Dashboard component |
| 82 | + |
| 83 | +This approach ensures: |
| 84 | + |
| 85 | +- Centralized filter configuration |
| 86 | +- Reusability across UI components |
| 87 | +- Consistent data visualization |
| 88 | + |
| 89 | +Execution Behavior |
| 90 | +------------------ |
| 91 | + |
| 92 | +When a Search is selected: |
| 93 | + |
| 94 | +- The defined filters are automatically applied. |
| 95 | +- The object permissions still apply. |
| 96 | +- Only authorized data is displayed. |
| 97 | + |
| 98 | +Searches do not bypass security rules. |
| 99 | +They only apply predefined filtering criteria on top of existing permissions. |
| 100 | + |
| 101 | +Learn more |
| 102 | +---------- |
| 103 | + |
| 104 | +- [Dashboards](/docs/make/userinterface/views/dashboard.md) |
| 105 | +- [Views](/docs/make/userinterface/views/home-page.md) |
| 106 | + |
0 commit comments