Skip to content

Commit 4b96879

Browse files
docs: sharing worksheet (#1089)
* updated * updated --------- Co-authored-by: Quan <[email protected]>
1 parent 4973c79 commit 4b96879

File tree

4 files changed

+14
-9
lines changed

4 files changed

+14
-9
lines changed

docs/en/guides/20-cloud/10-using-databend-cloud/01-worksheet.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,15 @@ title: Work with Worksheets
44
import DbSVG from '@site/static/img/icon/database.svg'
55
import RoleSVG from '@site/static/img/icon/role.svg'
66
import WarehouseSVG from '@site/static/img/icon/warehouse.svg'
7+
import EllipsisSVG from '@site/static/img/icon/ellipsis.svg'
78

8-
The worksheet is an important tool in Databend Cloud used for organizing and managing SQL statements. You can edit and run SQL statements in a worksheet, as well as save them in the worksheet for future reference and use. This can greatly improve work efficiency and avoid repetitive coding.
9+
Worksheets in Databend Cloud are used to organize, run, and save SQL statements. They can also be shared with others in your organization.
910

10-
To create a new worksheet, click on **Worksheets** in the sidebar and select **New Worksheet**.
11+
## Creating Worksheets
12+
13+
To create a new worksheet, click on **Worksheets** in the sidebar and select **New Worksheet**.
14+
15+
If your SQL statements are already saved in an SQL file, you can also create a worksheet directly from the file. To do so, click the ellipsis icon <EllipsisSVG/> to the right of **New Worksheet**, then select **Create from SQL File**.
1116

1217
## Editing and Running SQL Statements
1318

@@ -30,14 +35,13 @@ The query result shows in the output area. You can click **Export** to save the
3035
- If you enter multiple statements in the SQL input area, Databend Cloud will only execute the statement where the cursor is located. You can move the cursor to execute other statements. Additionally, you can use keyboard shortcuts: Ctrl + Enter (Windows) or Command + Enter (Mac) to execute the current statement, and Ctrl + Shift + Enter (Windows) or Command + Shift + Enter (Mac) to execute all statements.
3136
:::
3237

33-
## Managing Worksheets
38+
## Sharing Worksheets
3439

35-
You can create multiple worksheets and use folders to categorize and organize queries for different projects. These worksheets are opened as tabs, enabling convenient switching and viewing within the same web page.
40+
You can share your worksheets with everyone in your organization or specific individuals. To do so, click **Share** in the worksheet you want to share, or click **Share this Folder** to share a worksheet folder.
3641

37-
:::tip
38-
If your SQL statements are already saved in an SQL file, you can also create a worksheet directly from the file: click the **...** button to the right of **New Worksheet**, then select **Create from SQL File**.
39-
:::
42+
![Alt text](@site/static/img/documents/worksheet/share.png)
4043

41-
Databend Cloud also offers convenient operations to manage individual worksheets. You can clone, move, rename, or delete a worksheet through the UI interface. To do this, select a worksheet from the list, and then click the **** button at the top and choose the desired operation. Additionally, you can share a worksheet with specific individuals within your organization. To proceed, click the **Share** button located at the top. In the dialog box that appears, select the individuals you wish to share with and copy the worksheet link. You can then share the link with the intended recipients, and they will receive an email notification as well.
44+
In the dialog box that appears, select the sharing scope. You can copy and share the link with the intended recipients, who will also receive an email notification. Please note that if you choose the **Designated Members** scope, recipients must click the link you share for the sharing to be successful.
4245

43-
![Alt text](@site/static/img/documents/worksheet/worksheet-operations.png)
46+
- To view the worksheets shared with you, click **Worksheets** in the sidebar, then click the **Share with Me** tab on the right.
47+
- When you share a worksheet with others, they can execute the SQL statements in it if they have the necessary permissions, but they won't be able to make any edits to the statements.
125 KB
Loading
Binary file not shown.

static/img/icon/ellipsis.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)