Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

SourceLink

SourceLink
is an option for CloudObject and related constructs that specifies the source of the content given.

DetailsDetails

  • Possible settings include:
  • CloudObject[]take the specified cloud object as the source
    Automaticset the source from the current value of $SourceLink
    Nonenever give source
  • The target of SourceLink for a particular cloud object is typically a notebook document that serves as the source for the content in the cloud object.
  • With its default setting SourceLink->Automatic, CloudDeploy takes the source link for the deployed cloud object to be the cloud object corresponding to the current notebook, if this exists.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Deploy an object from a cloud notebook, automatically generating a link back to itself:

Click the deployed object link to view it with the "Source Notebook" link in the lower right that links back to the cloud notebook:

Deploy with a cloud notebook given as the source:

In[1]:=
Click for copyable input
Out[1]=

View the source link setting:

In[2]:=
Click for copyable input
Out[2]=

Deploy without a source link:

In[3]:=
Click for copyable input
Out[3]=

Confirm that there is no source link:

In[4]:=
Click for copyable input
Out[4]=
Introduced in 2016
(10.4)