<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Support - How to pass pipeline parameter values to Notebook (pyspark(python)) in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Support-How-to-pass-pipeline-parameter-values-to-Notebook/m-p/4748504#M10503</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a requirement to use pipeline parameters into notebook at the end of the pipelien execution.&lt;/P&gt;&lt;P&gt;I tried passing parameters using below approaches, it is not passing the values and resulting to pipeline failure. kindly suggest any working solution to pass pipeline parameters into Notebook (pyspark (python))&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;file_category = mssparkutils.env.get_parameter("file_category")&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;copy_counts = mssparkutils.env.get_parameter("copy_counts")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;#2&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;file_category&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;os&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;environ&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;get&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"file_category"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;copy_counts&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;os&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;environ&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;get&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"copy_counts"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 30 Jun 2025 12:35:53 GMT</pubDate>
    <dc:creator>Sureshmannem</dc:creator>
    <dc:date>2025-06-30T12:35:53Z</dc:date>
    <item>
      <title>Support - How to pass pipeline parameter values to Notebook (pyspark(python))</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Support-How-to-pass-pipeline-parameter-values-to-Notebook/m-p/4748504#M10503</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a requirement to use pipeline parameters into notebook at the end of the pipelien execution.&lt;/P&gt;&lt;P&gt;I tried passing parameters using below approaches, it is not passing the values and resulting to pipeline failure. kindly suggest any working solution to pass pipeline parameters into Notebook (pyspark (python))&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;file_category = mssparkutils.env.get_parameter("file_category")&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;copy_counts = mssparkutils.env.get_parameter("copy_counts")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;#2&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;file_category&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;os&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;environ&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;get&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"file_category"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;copy_counts&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;os&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;environ&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;get&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"copy_counts"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 30 Jun 2025 12:35:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Support-How-to-pass-pipeline-parameter-values-to-Notebook/m-p/4748504#M10503</guid>
      <dc:creator>Sureshmannem</dc:creator>
      <dc:date>2025-06-30T12:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: Support - How to pass pipeline parameter values to Notebook (pyspark(python))</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Support-How-to-pass-pipeline-parameter-values-to-Notebook/m-p/4748583#M10505</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1296869"&gt;@Sureshmannem&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Can you not set the base parameters of the notebooks with the pipeline variables something like below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Gpop13_0-1751290921240.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1280033iAEEE2C8F6DC28286/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Gpop13_0-1751290921240.png" alt="Gpop13_0-1751290921240.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and then in the notebook you can directly use those variables&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jun 2025 13:44:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Support-How-to-pass-pipeline-parameter-values-to-Notebook/m-p/4748583#M10505</guid>
      <dc:creator>Gpop13</dc:creator>
      <dc:date>2025-06-30T13:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Support - How to pass pipeline parameter values to Notebook (pyspark(python))</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Support-How-to-pass-pipeline-parameter-values-to-Notebook/m-p/4748750#M10507</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/628988"&gt;@Gpop13&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for your prompt support!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I realized I was overengineering the solution. I’ve now used the parameters directly in the notebook, and it works as expected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jun 2025 16:30:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Support-How-to-pass-pipeline-parameter-values-to-Notebook/m-p/4748750#M10507</guid>
      <dc:creator>Sureshmannem</dc:creator>
      <dc:date>2025-06-30T16:30:40Z</dc:date>
    </item>
  </channel>
</rss>

