Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
jonasscheerders
Frequent Visitor

How to run notebook activity with notebook id's

Is there a way to pass the id of a notebook as parameter to run it? 
Or use the notebook path for this
-And where can I find this ID- 

 

Let's say I have 50 notebooks, how can I run them via a lookup activity on a table where I've listed my notebook path's and then execute them within a for-each activity. 

dynamicly passing the base parameters from within a notebook is already clear and being used. 


I prefer this method to keep things nicely organised and reduce my number of pipelines. 

 

Used to work in this way with databricks and adf. Unable to find this solution within Fabric for the moment. 

@v-gchenna-msft 

1 ACCEPTED SOLUTION

Hi @jonasscheerders ,

You can find the notebook id in the url here -

vgchennamsft_0-1718377616977.png


If you are looking for programatically, please check here - Programmatically Get Specific Fabric Workspace Items in Fabric Notebook 

Hope this is helpful. Please do let me know incase of further queries.

View solution in original post

4 REPLIES 4
jonasscheerders
Frequent Visitor

I know how to pass the value to the parameter but where can I find my notebook-id 

Hi @jonasscheerders ,

You can find the notebook id in the url here -

vgchennamsft_0-1718377616977.png


If you are looking for programatically, please check here - Programmatically Get Specific Fabric Workspace Items in Fabric Notebook 

Hope this is helpful. Please do let me know incase of further queries.

Hi @jonasscheerders ,

Glad to know that your query got resolved. Please continue using Fabric Community on your further queries.

v-gchenna-msft
Community Support
Community Support

Hi @jonasscheerders ,

Thanks for using Fabric Community.
Here I am just attaching a sample screenshot -

vgchennamsft_0-1718365874456.png


You can simply pass the notebook id as a dynamic value and you will be able to execute the particular notebook.

Based on this line you can simply iterate around the notebook_id and run the notebook activity in a for loop.

Hoep this is helpful. Please do let me know incase of further queries.

Helpful resources

Announcements
FabricCarousel_June2024

Fabric Monthly Update - June 2024

Check out the June 2024 Fabric update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.