<?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 Re: Reference json data from notebook output in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Reference-json-data-from-notebook-output/m-p/3498203#M883</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="636318" data-lia-user-login="chriklev" class="lia-mention lia-mention-user"&gt;chriklev&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Welcome to Fabric Community and thanks for posting your question here.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I am not clear with your ask, So could you please provide me more details regarding the ask.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Which activity you are using? Can you please provide me some screenshots so that I can help you better.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Oct 2023 07:47:46 GMT</pubDate>
    <dc:creator>v-cboorla-msft</dc:creator>
    <dc:date>2023-10-26T07:47:46Z</dc:date>
    <item>
      <title>Reference json data from notebook output</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Reference-json-data-from-notebook-output/m-p/3495732#M869</link>
      <description>&lt;P&gt;Hello!&lt;BR /&gt;&lt;BR /&gt;I'm trying to return json data from a notebook like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;json_data = {"key1": "value1","key2": "value2"}
dbutils.notebook.exit(json_data)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;How do I reference json values from the notebook output in a pipeline?&lt;/STRONG&gt;&lt;BR /&gt;It seems, this is possible with databricks notebooks:&lt;BR /&gt;&lt;A href="https://stackoverflow.com/questions/77126213/sending-databricks-notebook-output-as-json-via-post-in-adf" target="_blank" rel="noopener"&gt;https://stackoverflow.com/questions/77126213/sending-databricks-notebook-output-as-json-via-post-in-adf&lt;/A&gt;&lt;BR /&gt;,but in Fabric the json output is formatted as a string.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for any help&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 08:08:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Reference-json-data-from-notebook-output/m-p/3495732#M869</guid>
      <dc:creator>chriklev</dc:creator>
      <dc:date>2023-10-25T08:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: Reference json data from notebook output</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Reference-json-data-from-notebook-output/m-p/3498203#M883</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="636318" data-lia-user-login="chriklev" class="lia-mention lia-mention-user"&gt;chriklev&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Welcome to Fabric Community and thanks for posting your question here.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I am not clear with your ask, So could you please provide me more details regarding the ask.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Which activity you are using? Can you please provide me some screenshots so that I can help you better.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 07:47:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Reference-json-data-from-notebook-output/m-p/3498203#M883</guid>
      <dc:creator>v-cboorla-msft</dc:creator>
      <dc:date>2023-10-26T07:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Reference json data from notebook output</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Reference-json-data-from-notebook-output/m-p/3505783#M917</link>
      <description>&lt;P&gt;You can convert a string to JSON using the JSON function but I don't know that you can do a lot with it at that point.&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/data-factory/control-flow-expression-language-functions#json" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/data-factory/control-flow-expression-language-functions#json&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Depending on your use case it may be better to write the output to a file and return the path instead so you can read the data into data factory so you can do stuff.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If its just for purposes of logging, then the rest string&amp;nbsp;should&amp;nbsp;be fine.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 22:44:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Reference-json-data-from-notebook-output/m-p/3505783#M917</guid>
      <dc:creator>jwinchell40</dc:creator>
      <dc:date>2023-10-30T22:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: Reference json data from notebook output</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Reference-json-data-from-notebook-output/m-p/3514057#M961</link>
      <description>&lt;P&gt;Thank you! parsing the output with the JSON function did the trick.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2023 08:57:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Reference-json-data-from-notebook-output/m-p/3514057#M961</guid>
      <dc:creator>chriklev</dc:creator>
      <dc:date>2023-11-03T08:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Reference json data from notebook output</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Reference-json-data-from-notebook-output/m-p/3515028#M975</link>
      <description>&lt;P&gt;No problem.&amp;nbsp; Glad it worked!&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2023 18:11:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Reference-json-data-from-notebook-output/m-p/3515028#M975</guid>
      <dc:creator>jwinchell40</dc:creator>
      <dc:date>2023-11-03T18:11:36Z</dc:date>
    </item>
  </channel>
</rss>

