Skip to content

Commit fe5237b

Browse files
author
stevestein
committed
update per usability feedback
1 parent 9ee17b9 commit fe5237b

1 file changed

Lines changed: 17 additions & 7 deletions

File tree

docs/sql-operations-studio/tutorial-table-space-sql-server.md

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Tutorial: Enable the table space usage sample insight widget in SQL Operations Studio (preview) | Microsoft Docs"
33
description: This tutorial demonstrates how to enable the table space usage sample insight widget on the SQL Operations Studio (preview) database dashboard.
44
ms.custom: "tools|sos"
5-
ms.date: "11/15/2017"
5+
ms.date: "03/19/2018"
66
ms.prod: "sql-non-specified"
77
ms.reviewer: "alayu; erickang; sstein"
88
ms.suite: "sql"
@@ -36,26 +36,36 @@ This tutorial requires the SQL Server or Azure SQL Database *TutorialDB*. To cre
3636
## Turn on a management insight on [!INCLUDE[name-sos](../includes/name-sos-short.md)]'s database dashboard
3737
[!INCLUDE[name-sos](../includes/name-sos-short.md)] has a built-in sample widget to monitor the space used by tables in a database.
3838

39-
1. Open **User Settings** by pressing **Ctrl+Shift+P** to open *Command Palette*, type *settings* in the search box and select **Preferences: Open User Settings**.
39+
1. Open *User Settings* by pressing **Ctrl+Shift+P** to open the *Command Palette*.
40+
2. Type *settings* in the search box and select **Preferences: Open User Settings**.
4041

4142
![Open user settings command](./media/tutorial-table-space-sql-server/open-user-settings.png)
4243

4344
2. Type *dashboard* in Settings Search input box and locate **dashboard.database.widgets**.
4445

4546
![Search settings](./media/tutorial-table-space-sql-server/search-settings.png)
4647

47-
3. To customize the **dashboard.database.widgets** setting, hover over the pencil icon to the left of the **dashboard.database.widgets** text, click **Edit** > **Copy to Settings**.
48+
3. To customize the **dashboard.database.widgets** settings you need to edit the **dashboard.database.widgets** entry in the **USER SETTINGS** section (the column in the right side). If there is no **dashboard.database.widgets** in the **USER SETTINGS** section, hover over the **dashboard.database.widgets** text in the DEFAULT SETTINGS column and click the pencil icon that appears to the left of the text and click **Copy to Settings**. If the pop-up says **Replace in Settings**, don't click it! Go to the **USER SETTINGS** column to the right and locate the **dashboard.database.widgets** section and advance to the next step.
4849

49-
4. Using [!INCLUDE[name-sos](../includes/name-sos-short.md)]'s insight settings IntelliSense, configure *name* for the widget title, *gridItemConfig* for the widget size, and *widget* by selecting **table-space-db-insight** from the drop-down list as shown in the following screenshot:
50+
4. In the **dashboard.database.widgets** section, add the following:
5051

51-
![Insight settings](./media/tutorial-table-space-sql-server/insight-table-space.png)
52+
```json
53+
{
54+
"name": "Table space usage",
55+
"gridItemConfig": {
56+
"sizex": 2,
57+
"sizey": 1
58+
},
59+
"widget": {
60+
"table-space-db-insight": null
61+
}
62+
},
63+
```
5264

5365
5. Press **Ctrl+S** to save the settings.
5466

5567
6. Open database dashboard by right-clicking **TutorialDB** and click **Manage**.
5668

57-
![Open dashboard](./media/tutorial-table-space-sql-server/insight-open-dashboard.png)
58-
5969
7. View *Space used by tables* as shown in the following screenshot:
6070

6171
![Widget](./media/tutorial-table-space-sql-server/insight-table-space-result.png)

0 commit comments

Comments
 (0)