Skip to content

Commit 4bb8220

Browse files
Merge pull request #231753 from jonburchel/patch-36
Update synapse-notebook-activity.md
2 parents 5f298fb + ec20ae9 commit 4bb8220

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

articles/synapse-analytics/synapse-notebook-activity.md

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -58,20 +58,10 @@ Select the **Add to pipeline** button on the upper right corner to add a noteboo
5858

5959
### Designate a parameters cell
6060

61-
# [Classic notebook](#tab/classical)
62-
63-
To parameterize your notebook, select the ellipses (...) to access the other cell actions menu at the far right. Then select **Toggle parameter cell** to designate the cell as the parameters cell.
64-
65-
[![screenshot-showing-toggle-parameter](./media/synapse-notebook-activity/toggle-parameter-cell.png)](./media/synapse-notebook-activity/toggle-parameter-cell.png#lightbox)
66-
67-
# [Preview notebook](#tab/preview)
68-
6961
To parameterize your notebook, select the ellipses (...) to access the **more commands** at the cell toolbar. Then select **Toggle parameter cell** to designate the cell as the parameters cell.
7062

7163
[![screenshot-showing-azure-notebook-toggle-parameter](./media/synapse-notebook-activity/azure-notebook-toggle-parameter-cell.png)](./media/synapse-notebook-activity/azure-notebook-toggle-parameter-cell.png#lightbox)
7264

73-
---
74-
7565
Azure Data Factory looks for the parameters cell and uses the values as defaults for the parameters passed in at execution time. The execution engine will add a new cell beneath the parameters cell with input parameters to overwrite the default values.
7666

7767

@@ -108,10 +98,6 @@ You can reference other notebooks in a Synapse notebook activity via calling [%r
10898
- [%run magic](./spark/apache-spark-development-using-notebooks.md#notebook-reference) copies all cells from the referenced notebook to the %run cell and shares the variable context. When notebook1 references notebook2 via `%run notebook2` and notebook2 calls a [mssparkutils.notebook.exit](./spark/microsoft-spark-utilities.md#exit-a-notebook) function, the cell execution in notebook1 will be stopped. We recommend you use %run magic when you want to "include" a notebook file.
10999
- [mssparkutils notebook utilities](./spark/microsoft-spark-utilities.md#notebook-utilities) calls the referenced notebook as a method or a function. The variable context isn't shared. When notebook1 references notebook2 via `mssparkutils.notebook.run("notebook2")` and notebook2 calls a [mssparkutils.notebook.exit](./spark/microsoft-spark-utilities.md#exit-a-notebook) function, the cell execution in notebook1 will continue. We recommend you use mssparkutils notebook utilities when you want to "import" a notebook.
110100

111-
>[!Note]
112-
> Run another Synapse notebook from a Synapse pipeline will only work for a notebook with Preview enabled.
113-
114-
115101
## See notebook activity run history
116102

117103
Go to **Pipeline runs** under the **Monitor** tab, you'll see the pipeline you have triggered. Open the pipeline that contains notebook activity to see the run history.
@@ -215,4 +201,4 @@ Here's the sample JSON of a Synapse notebook activity output:
215201

216202
```
217203
## Known issues
218-
If the notebook name is parametrized in the Pipeline Notebook activity, then the notebook version in unpublished status can't be referenced in the debug runs.
204+
If the notebook name is parametrized in the Pipeline Notebook activity, then the notebook version in unpublished status can't be referenced in the debug runs.

0 commit comments

Comments
 (0)