$SourceLink

$SourceLink

specifies the default source to be used for deployed cloud objects.

Details

  • The default setting for $SourceLink is Automatic.
  • $SourceLink can take a cloud object that will be the source for all deployed cloud objects.
  • $SourceLink=Automatic indicates that the source for the deployed cloud objects is to be the cloud object corresponding to the current notebook, if that exists.
  • $SourceLink=None specifies that by default no source link should be given.

Examples

Basic Examples  (1)

The default setting of $SourceLink is Automatic:

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

In the cloud notebook, the $EvaluationCloudObject automatically becomes the source for the deployed object:

Click for copyable input

No source is given when evaluation is done in the Wolfram Language desktop:

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

Change newly deployed cloud objects to always use a custom object as the default source:

In[4]:=
Click for copyable input
In[11]:=
Click for copyable input
Out[11]=
In[12]:=
Click for copyable input
Out[12]=
Introduced in 2016
(10.4)
|
Updated in 2019
(12.0)