({{, (RefLink[$SourceLink, paclet:ref/$SourceLink]) 
specifies the default source to be used for deployed cloud objects.}})

OpenersNotesSection(Spacer1)Details

The default setting for (RefLink[$SourceLink, paclet:ref/$SourceLink]) is (RefLink[Automatic, paclet:ref/Automatic]).

(RefLink[$SourceLink, paclet:ref/$SourceLink]) can take a cloud object that will be the source for all deployed cloud objects.

$SourceLink=(RefLink[Automatic, paclet:ref/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=(RefLink[None, paclet:ref/None]) specifies that by default no source link should be given.

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

The default setting of (RefLink[$SourceLink, paclet:ref/$SourceLink]) is (RefLink[Automatic, paclet:ref/Automatic]):

$SourceLink

In the cloud notebook, the (RefLink[$EvaluationCloudObject, paclet:ref/$EvaluationCloudObject]) automatically becomes the source for the deployed object:

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

obj=CloudDeploy[Manipulate[{n,Table[Prime[x],{x,n}]},{n,1,100,1}]]

Options[obj, SourceLink]

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

$SourceLink = CloudObject["sine-phase-source.nb"];

CloudDeploy[Manipulate[Plot[Sin[a x+b],{x,0,6}],{{a,2,"Multiplier"},1,4},{{b,0,"Phase Parameter"},0,10}],"sine-plot"]

Options[CloudObject["sine-plot"],SourceLink]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[SourceLink, paclet:ref/SourceLink])  ▪  (RefLink[$EvaluationCloudObject, paclet:ref/$EvaluationCloudObject])  ▪  (RefLink[CloudDeploy, paclet:ref/CloudDeploy])}})}})