Forum Discussion
While configuring notebook session from datafactory pipeline, pipeline notebook activity fails
Hi Anonymous ,
I saw in the fabric documentation that these configurations can be passed from the pipeline to the notebooks. I have a situation where i have multiple lakehouse in a workspace and i want to execute a notebook to create tables in different lakehouse from a single notebook. For this i want to pass the lakehouse as a parameter from pipeline to notebook so it sets the default lakehouse as per input parameter and create tables in appropriate lakehouses.
Hello Binit17
Apologies for the delay in reply from our side.
You can follow below step inorder to pass them as pipeline parameters -
In Pipeline:
In Notebook:
%%configure
{
"defaultLakehouse": { // This overwrites the default lakehouse for current session
"name": {
"parameterName": "paramterName",
"defaultValue": "gopi_lake_house_1"
} ,
"id": {
"parameterName": "parameterId",
"defaultValue": "7b6de"
}
}
}
Output -
Hope this is helpful. Please let me know incase of further queries.
- Anonymous2 years agoNot applicable
Hello Binit17 ,
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet .
Otherwise, will respond back with the more details and we will try to help .- Anonymous2 years agoNot applicable
Hi Binit17 ,
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet .
Otherwise, will respond back with the more details and we will try to help .