Forum Discussion
Dynamically Change Notebook ID for each Workspace
- 1 year ago
Put a value into the notebook field, save and exit the pipeline. Reopen the pipeline and delete the notebook value. The list should now be available. In short the pipeline needs to be refreshed.
Hi
i have tried to make the workspaceid dynamically, but cant se any notebooks - its empty
Put a value into the notebook field, save and exit the pipeline. Reopen the pipeline and delete the notebook value. The list should now be available. In short the pipeline needs to be refreshed.
- Anonymous1 year agoNot applicable
Hi, this solution worked for dev enviroment but when i am commiting the changes to test azure devops
it didnt capture the workspace id, only the notebook id.
is my only option is create table and assign notebook id through it?
Any insights or best practices would be greatly appreciated!
Sample JSON of pipeline
{
"properties": {
"activities": [
{
"type": "TridentNotebook",
"typeProperties": {
"notebookId": "c83f4cb0-d163-48cb-9a11-b4f029e0820f"
},
"policy": {
"timeout": "0.12:00:00",
"retry": 0,
"retryIntervalInSeconds": 30,
"secureInput": false,
"secureOutput": false
},
"name": "Check new folders and files",
"description": "Check if new folders and Ingest folder entry in config table and files present in the folder in file config table.",
"dependsOn": [
{
"activity": "fetch env info from ctrl tbl",
"dependencyConditions": [
"Succeeded"
]
}
]
},