Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

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. 

Anonymous 

4 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous ,

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


    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.

  • Anonymous's avatar
    Anonymous
    Not applicable

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

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi Anonymous ,

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