# Sharing Searches

## Sharing Searches - How To

Once a search is saved, if you have the necessary permissions, you may then attempt to share your search.

`[SEARCHES]` > `[SAVE]` > `[OPTIONS]` > **`[Sharing]`**&#x20;

This menu action will open the `[Share]` dialogue box.

![Sharing your search](https://1981611109-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LthAmlGL8PG1hh-vzkV%2F-M-vq1aLnWryhbGOEWuh%2F-M-vqcV3IAsRK5P_1UAl%2FSearch%20-%20SHARING%20-%20Menu.png?alt=media\&token=9119d775-677e-401f-947a-7d8250567894)

{% hint style="info" %}
How Access and Visibility Rules are applied is documented [**here**](https://docs.ardexa.com/knowledge/app.ardexa/data_access/limit-saved-dashboard-and-searches)
{% endhint %}

The `[SHARE]` button that you see in both the Dashboard and Search menus refers to the ability for other users in your Organisation to see Dashboards and Saved Searches (e.g. visualisations) that you have created. Once Shared, these items will appear in the "Shared" section of the relevant dropdown menu.

![Share your saved search with your workgroup members](https://1981611109-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LthAmlGL8PG1hh-vzkV%2F-LzYvNBozviexLR_VR_F%2F-LzZ5AoXNWHfOMj-vqGt%2FSearch%20-%20Share.png?alt=media\&token=bda48902-efce-403e-9f76-abb6f261193a)

{% hint style="info" %}
**NOTE:** A search must be first **`[SAVED]`** for you to be able to **`Share`** your search
{% endhint %}

![](https://1981611109-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LthAmlGL8PG1hh-vzkV%2F-M-w0Rqya5QUzmPcRo8G%2F-M-w0UVdcWLCvhno3egT%2FSearch%20-%20SHARING%20-%20Modal%20Many%20Device%20Groups%20Select%20Workgroup.png?alt=media\&token=65b8134f-3ac9-48cd-85bc-1f5ae0ab773a)

## With Whom am I Sharing the Search?

Searches (and dashboards) when shared, are shared with *every user in your workgroup or device group*.

{% hint style="info" %}
**NOTE:** Sharing searches and dashboards is covered in detail under the article:\
Data Access > [***Limit Saved Dashboard and Searches***](https://docs.ardexa.com/knowledge/data_access/limit-saved-dashboard-and-searches#sharing-searches-how-to)
{% endhint %}

## Who Can unshare a Search or Dashboard?

Sharing and Unsharing of saved searches and dashboards is set by the user permissions.

{% hint style="info" %}
**NOTE:** Sharing searches and dashboards is covered in detail under the article:\
Data Access > [***Limit Saved Dashboard and Searches***](https://docs.ardexa.com/knowledge/data_access/limit-saved-dashboard-and-searches#sharing-searches-how-to)
{% endhint %}

## Sharing a Search or Dashboard Externally

At this point in time, it is not possible to share the dashboards publicly (that is, to someone without a login), primarily for security reasons. However, giving a new user limited access to see dashboards and searches is very easy. Open the Admin menu and click Users. Here you can send out invites to new users and set their permissions to "read only", so that they are restricted to only viewing existing Dashboards and Saved Searches.

## The Share Dialogue Box

When the sharing action is invoked from either your saved search or your saved dashboard a dialogue box will pop-up. From this dialogue box select the entities you would like to share your record:

{% hint style="info" %}
**NB:** You can only share to either:

* a workgroup\
  -or
* device group**s**

But not both at the same time. **However....**
{% endhint %}

{% hint style="warning" %}
Sharing to a workgroup when device groups exist, will share your record (search/dashboard) to all members of the workgroup, INCLUDING all members of all device groups.
{% endhint %}

## Example Scenarios

### User: Can Share, Device Groups Exist, Share to Device Groups

* Their workgroup.
* -or-
* This user may share to any of the existing device groups `<<` **SELECTED**

![](https://1981611109-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LthAmlGL8PG1hh-vzkV%2F-M-vtChFM5IdLz8LEM-v%2F-M-vtoMz8ql64TS2viPb%2FSearch%20-%20SHARING%20-%20Modal%20Many%20Device%20Groups.png?alt=media\&token=13c2735a-2ae1-4c4d-89e9-86aeab49c019)

* User members of the device groups

  * `Devices in Client ABC Ltd` &&#x20;
  * `Devices in Client XYZ Ltd`&#x20;

  ***will*** see the shared record.
* User members of the device groups

  * `Devices in Canberra` &&#x20;
  * `Devices in Colorado` &
  * `Devices in Europe`

  will ***not*** see the shared record
* User members of the workgroup:&#x20;

  * (`ACME 2`) &&#x20;
  * who are ***not*** a member of any device group

  ***will*** see the shared record

### User: Can Share, Device Groups Exist, Share to Workgroup

* Their workgroup `<<` **SELECTED**
* -or-
* This user may share to any of the existing device groups.

![](https://1981611109-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LthAmlGL8PG1hh-vzkV%2F-M-w0Rqya5QUzmPcRo8G%2F-M-w0UVdcWLCvhno3egT%2FSearch%20-%20SHARING%20-%20Modal%20Many%20Device%20Groups%20Select%20Workgroup.png?alt=media\&token=65b8134f-3ac9-48cd-85bc-1f5ae0ab773a)

* **All users will see the shared record, ie:**
  * User members of the **all** device groups

    ***will*** see the shared record.
  * All User members of the workgroup:&#x20;

    * (`ACME 2`)&#x20;

    ***will*** see the shared record
