<?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 Read Notebook cell string from another notebook in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Read-Notebook-cell-string-from-another-notebook/m-p/4885710#M13701</link>
    <description>&lt;P&gt;Is this even possible?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to programatically loop through my transformation notebooks and parse the materialised lake view SQL to get a source field, destination field, and a bunch of other useful information for a data dictionary. Plus side to building a loop is I can run it on a schedule and report if any field name or data types change for any reason and ping that down the line to my reporting guys or data quality.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can get all the notebooks within folders easilly enough, and parsing the string would be straight forward - but actually grabbing the content is proving difficult.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've played around with Get Notebook Definition but the Body JSON is always null? Is there another way / API endpoint i've not found?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 25 Nov 2025 16:55:33 GMT</pubDate>
    <dc:creator>TheFifthJoin</dc:creator>
    <dc:date>2025-11-25T16:55:33Z</dc:date>
    <item>
      <title>Read Notebook cell string from another notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Read-Notebook-cell-string-from-another-notebook/m-p/4885710#M13701</link>
      <description>&lt;P&gt;Is this even possible?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to programatically loop through my transformation notebooks and parse the materialised lake view SQL to get a source field, destination field, and a bunch of other useful information for a data dictionary. Plus side to building a loop is I can run it on a schedule and report if any field name or data types change for any reason and ping that down the line to my reporting guys or data quality.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can get all the notebooks within folders easilly enough, and parsing the string would be straight forward - but actually grabbing the content is proving difficult.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've played around with Get Notebook Definition but the Body JSON is always null? Is there another way / API endpoint i've not found?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 16:55:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Read-Notebook-cell-string-from-another-notebook/m-p/4885710#M13701</guid>
      <dc:creator>TheFifthJoin</dc:creator>
      <dc:date>2025-11-25T16:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Read Notebook cell string from another notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Read-Notebook-cell-string-from-another-notebook/m-p/4885961#M13705</link>
      <description>&lt;P&gt;Fabric does not expose notebook cell contents through the public APIs today.&amp;nbsp;Get Notebook Definition only returns metadata, not the code or markdown cells which is why the body field is always null. I believe the product team has not exposed any API to fetch notebook source programmatically.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Possible options as of today:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Store your SQL logic in external files (Lakehouse, Git, or a mirrored repo) and have notebooks read from there. Then you can parse those files easily.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Use Fabric Git integration (if enabled) and parse the notebook source from the .ipynb representation in Git. That is currently the only reliable method to get notebook content automatically.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Move your transformation logic into pipelines, dataflow gen2 or SQL scripts if you want first class lineage parsing.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;But directly reading notebook cell strings from another notebook or API is not supported today.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Nov 2025 00:32:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Read-Notebook-cell-string-from-another-notebook/m-p/4885961#M13705</guid>
      <dc:creator>Vinodh247</dc:creator>
      <dc:date>2025-11-26T00:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Read Notebook cell string from another notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Read-Notebook-cell-string-from-another-notebook/m-p/4897095#M13955</link>
      <description>&lt;P&gt;I can confirm linking the workspace to devops, then using the devops API to find&amp;nbsp;&lt;SPAN&gt;notebook-content.py files under whatever location you have files saved in, you can grab the file.text directly.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Dec 2025 12:55:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Read-Notebook-cell-string-from-another-notebook/m-p/4897095#M13955</guid>
      <dc:creator>TheFifthJoin</dc:creator>
      <dc:date>2025-12-09T12:55:11Z</dc:date>
    </item>
  </channel>
</rss>

