<?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 Progrmatically get NB path/directory in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Progrmatically-get-NB-path-directory/m-p/4046523#M3086</link>
    <description>&lt;P&gt;Is it possible to retrieve progrmatically the current path/directory of the notebook; the following does not return the desired&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;notebookutils.notebook.get('NB1')&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jul 2024 17:22:15 GMT</pubDate>
    <dc:creator>smpa01</dc:creator>
    <dc:date>2024-07-17T17:22:15Z</dc:date>
    <item>
      <title>Progrmatically get NB path/directory</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Progrmatically-get-NB-path-directory/m-p/4046523#M3086</link>
      <description>&lt;P&gt;Is it possible to retrieve progrmatically the current path/directory of the notebook; the following does not return the desired&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;notebookutils.notebook.get('NB1')&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 17:22:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Progrmatically-get-NB-path-directory/m-p/4046523#M3086</guid>
      <dc:creator>smpa01</dc:creator>
      <dc:date>2024-07-17T17:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: Progrmatically get NB path/directory</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Progrmatically-get-NB-path-directory/m-p/4047321#M3098</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/24978"&gt;@smpa01&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;In fact, this code is used to get the detail information of notebook instead of path/directory.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{'id': 'xxxxxxx',
 'type': 'Notebook',
 'displayName': 'notebook name',
 'description': 'New notebook',
 'workspaceId': 'xxxxxxxx',
 'properties': {}}&lt;/LI-CODE&gt;
&lt;P&gt;You can extract the 'id' and 'workspace id' properties to concatenate the relative path: groups/{workspace id}/synapsenotebooks/{noteboke id}.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Xiaoxin Sheng&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 03:16:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Progrmatically-get-NB-path-directory/m-p/4047321#M3098</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-18T03:16:49Z</dc:date>
    </item>
  </channel>
</rss>

