In the cloud, NotebookOpen
currently only works with files referring to existing cloud objects. So you could create a corresponding cloud object first:
CopyFile[URL["https://demonstrations.wolfram.com/data/001281/0004/PoissonDistribution/PoissonDistribution.nb"],
CloudObject["mypoisson.nb"]]
Then you can apply NotebookOpen
:
NotebookOpen["mypoisson.nb", "OpenInNewWindow"->True]
Controlling that separate notebook will only work to a certain degree in the cloud. SelectionMove
is supported, but SelectionEvaluate
is not (yet).
BTW, you can also use SystemOpen
to open a particular URL or cloud object:
SystemOpen["https://demonstrations.wolfram.com/data/001281/0004/PoissonDistribution/PoissonDistribution.nb"]
That will just let the browser handle the file, which typically means it will trigger a download when given a raw notebook file.
There is work underway to support viewing notebooks at arbitrary URLs, without creating corresponding cloud objects first.