Skip to content

Commit 91823ca

Browse files
authored
Merge pull request #276975 from seesharprun/cosmos-data-explorer-enhancements
Cosmos DB | New data explorer how-to guide
2 parents 8b259bc + e7a98be commit 91823ca

File tree

7 files changed

+83
-5
lines changed

7 files changed

+83
-5
lines changed

articles/cosmos-db/cassandra/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@
314314
items:
315315
- name: Use explorer
316316
href: ../data-explorer.md
317-
- name: Keyboard shorcuts
317+
- name: Keyboard shortcuts
318318
href: ../data-explorer-shortcuts.md
319319
- name: Troubleshooting and performance
320320
items:

articles/cosmos-db/gremlin/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@
273273
items:
274274
- name: Use explorer
275275
href: ../data-explorer.md
276-
- name: Keyboard shorcuts
276+
- name: Keyboard shortcuts
277277
href: ../data-explorer-shortcuts.md
278278
- name: Analytics and BI with Azure Synapse Link
279279
items:
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
---
2+
title: Manage multiple items in Data Explorer
3+
titleSuffix: Azure Cosmos DB
4+
description: Use the multiple selection feature of the Data Explorer for Azure Cosmos DB to batch delete items directly in the Azure portal.
5+
author: meredithmooreux
6+
ms.author: merae
7+
ms.service: cosmos-db
8+
ms.topic: how-to
9+
ms.date: 06/03/2024
10+
#Customer Intent: As a database developer, I want to manage multiple items using the Data Explorer, so that I can delete items in bulk.
11+
---
12+
13+
# View and delete multiple items in Azure Cosmos DB Data Explorer
14+
15+
[!INCLUDE[NoSQL, MongoDB](includes/appliesto-nosql-mongodb.md)]
16+
17+
Use the Data Explorer for Azure Cosmos DB to select and delete multiple items directly in the Azure portal. This feature makes it easier to batch manage multiple items without executing a query.
18+
19+
## Prerequisites
20+
21+
- An existing Azure Cosmos DB account.
22+
- If you have an Azure subscription, [create a new API for NoSQL account](nosql/how-to-create-account.md?tabs=azure-portal).
23+
- If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
24+
- Alternatively, you can [try Azure Cosmos DB free](try-free.md) before you commit.
25+
26+
## Delete multiple items
27+
28+
First, use the multiple selection feature to perform a delete operation over multiple items.
29+
30+
1. Sign in to the Azure portal (<https://portal.azure.com>).
31+
32+
1. Navigate to your existing Azure Cosmos DB account.
33+
34+
1. In the resource menu, select **Data Explorer**.
35+
36+
1. Navigate to the **Items** page corresponding to any existing database and container.
37+
38+
1. On the **Items** page, select the checkbox corresponding with all items you wish to manage in a single operation.
39+
40+
:::image type="content" source="media/how-to-data-explorer-manage-items/multiple-selection.png" alt-text="Screenshot of the items management experience in the Azure Cosmos DB Data Explorer with multiple items currently selected.":::
41+
42+
> [!TIP]
43+
> Alternatively, you can either select multiple items using the <kbd>Shift</kbd> or <kbd>Ctrl</kbd> keys. You can also use the checkbox in the table header to automatically select all items in the current view.
44+
45+
> [!NOTE]
46+
> By default, the items view only includes 100 matching items. Select **Load more** to include more items within the current view.
47+
48+
1. In the command bar, select **Delete**.
49+
50+
> [!TIP]
51+
> Alternatively, you can use the <kbd>Alt</kbd> + <kbd>D</kbd> or <kbd>Opt</kbd> + <kbd>D</kbd> keyboard shortcut.
52+
53+
1. In the confirmation dialog, select **Yes** to confirm that the multiple delete operation was intentional.
54+
55+
1. Wait for the operation to complete in the container. The results of the operation are available in the status bar.
56+
57+
## Adjust viewport
58+
59+
Now, use the adjustment features in the Data Explorer to adjust the viewport of items.
60+
61+
1. Navigate to the Data Explorer interface for your existing Azure Cosmos DB account again.
62+
63+
1. On the **Items** page, drag and move the separator between columns to adjust how much content is viewable for each column.
64+
65+
1. Observe that the content rendered for each item updates automatically as the column sizes are adjusted.
66+
67+
## Comments
68+
69+
Use the **Feedback** icon in the command bar of the Data Explorer to give the product team any comments you have about the keyboard shortcuts.
70+
71+
## Related content
72+
73+
- [Delete items by partition key value in Azure Cosmos DB for NoSQL](nosql/how-to-delete-by-partition-key.md)
74+
- [Move data between containers in Azure Cosmos DB](container-copy.md)
218 KB
Loading

articles/cosmos-db/mongodb/TOC.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,9 @@
339339
items:
340340
- name: Use explorer
341341
href: ../data-explorer.md
342-
- name: Keyboard shorcuts
342+
- name: Manage multiple items
343+
href: ../how-to-data-explorer-manage-items.md
344+
- name: Keyboard shortcuts
343345
href: ../data-explorer-shortcuts.md
344346
- name: Develop applications
345347
items:

articles/cosmos-db/nosql/TOC.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,9 @@
613613
items:
614614
- name: Use explorer
615615
href: ../data-explorer.md
616-
- name: Keyboard shorcuts
616+
- name: Manage multiple items
617+
href: ../how-to-data-explorer-manage-items.md
618+
- name: Keyboard shortcuts
617619
href: ../data-explorer-shortcuts.md
618620
- name: SDK observability
619621
href: sdk-observability.md

articles/cosmos-db/table/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@
278278
items:
279279
- name: Use explorer
280280
href: ../data-explorer.md
281-
- name: Keyboard shorcuts
281+
- name: Keyboard shortcuts
282282
href: ../data-explorer-shortcuts.md
283283
- name: Migrate data
284284
items:

0 commit comments

Comments
 (0)