# New Observable can't import from notebook via URL?

**URL:** <https://talk.observablehq.com/t/new-observable-cant-import-from-notebook-via-url/5054>\
**Category:** Help\
**Created:** [May 12, 2021, 11:32pm UTC](https://talk.observablehq.com/t/new-observable-cant-import-from-notebook-via-url/5054 "2021-05-12T23:32:59Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![DevinBayly](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/devinbayly/32/3952_2.png) [@DevinBayly](https://talk.observablehq.com/u/DevinBayly)\
**Post date:** [May 12, 2021, 11:32pm UTC](https://talk.observablehq.com/t/new-observable-cant-import-from-notebook-via-url/5054/1 "2021-05-12T23:32:59Z")

</div>

In this previous issue it was discussed that you can enable URL sharing and use that to import parts of one notebook into another without making it public, did we lose this functionality with the recent changes to Observable?

> [@Referencing private notebooks](https://talk.observablehq.com/t/referencing-private-notebooks/357/7):
>
> Nice! Looks like the unshare feature has shipped.

I no longer see the enable URL sharing when I’m not in “classic” mode.

My main question is, do I need to make my notebook public in order to import a named cell from it into another notebook? thanks!

---

<div class="post-metadata">

**Author:** ![DevinBayly](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/devinbayly/32/3952_2.png) [@DevinBayly](https://talk.observablehq.com/u/DevinBayly)\
**Post date:** [May 12, 2021, 11:48pm UTC](https://talk.observablehq.com/t/new-observable-cant-import-from-notebook-via-url/5054/2 "2021-05-12T23:48:35Z")

</div>

Apologies, just worked this out on my own. It looks like the unlisted option for publishing was what I was looking for.

after that it looks like I can do things like

`import {something} from 'notebookhash'`

---

<div class="post-metadata">

**Author:** ![aaronkyle](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/aaronkyle/32/8106_2.png) [@aaronkyle](https://talk.observablehq.com/u/aaronkyle)\
**Post date:** [May 12, 2021, 11:51pm UTC](https://talk.observablehq.com/t/new-observable-cant-import-from-notebook-via-url/5054/3 "2021-05-12T23:51:29Z")

</div>

Hi @DevinBayly!

Yep - you got it! There’s a different publishing interface in `next`. The language has been re-worked so that it’s more clear to users that a ‘link shared’ notebook is public. This differentiates it from a ‘shared’ notebook (sharing can be done from a personal account; and also within Teams).

You’ll also find (as [recently announced](https://talk.observablehq.com/t/customize-when-you-publish/5053) by Wayne) that you can set a custom URL slug, which should allow you to import from a nice, meaningful URL rather than just the randomly-generated hash value.

---

<div class="post-metadata">

**Author:** ![DevinBayly](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/devinbayly/32/3952_2.png) [@DevinBayly](https://talk.observablehq.com/u/DevinBayly)\
**Post date:** [May 12, 2021, 11:56pm UTC](https://talk.observablehq.com/t/new-observable-cant-import-from-notebook-via-url/5054/4 "2021-05-12T23:56:37Z")

</div>

Hi @aaronkyle ,

your reply has sparked another question haha. Can we import from shared notebooks, ie those within our team, but not published or link shared?

---

<div class="post-metadata">

**Author:** ![aaronkyle](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/aaronkyle/32/8106_2.png) [@aaronkyle](https://talk.observablehq.com/u/aaronkyle)\
**Post date:** [May 13, 2021, 12:00am UTC](https://talk.observablehq.com/t/new-observable-cant-import-from-notebook-via-url/5054/5 "2021-05-13T00:00:13Z")

</div>

The answer is yes and no: You can import a private, non-shared notebook within a Team that you own into another notebook. I believe that others with which you share can do the same (untested). However, if you publish a notebook that references a non-published notebook, the import will fail on publication.

---

<div class="post-metadata">

**Author:** ![Cobus](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/cobus/32/9670_2.png) [@Cobus](https://talk.observablehq.com/u/Cobus)\
**Post date:** [May 13, 2021, 3:48am UTC](https://talk.observablehq.com/t/new-observable-cant-import-from-notebook-via-url/5054/6 "2021-05-13T03:48:43Z")

</div>

You can import your own notebooks without the need to make the notebooks public (I assume you know that, but just wanted to state that for the record).

import {cellName} from “7add4687xxxx4a3c6” where that number is the notebook’s id that you see in the url.

Within a team, that works exactly the same way, since the notebooks are owned by the team, not the individuals, as long as you have at least read-access to the notebook in the team.

Hope this helps!

---

<div class="post-metadata">

**Author:** ![DevinBayly](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/devinbayly/32/3952_2.png) [@DevinBayly](https://talk.observablehq.com/u/DevinBayly)\
**Post date:** [May 14, 2021, 8:36pm UTC](https://talk.observablehq.com/t/new-observable-cant-import-from-notebook-via-url/5054/7 "2021-05-14T20:36:43Z")

</div>

@aaronkyle @Cobus Thanks! I think this is all clear now.
