$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 the cloud notebook, the $EvaluationCloudObject automatically becomes the source for the deployed object:

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

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

Wolfram Research (2016), $SourceLink, Wolfram Language function, https://reference.wolfram.com/language/ref/$SourceLink.html (updated 2019).

Text

Wolfram Research (2016), $SourceLink, Wolfram Language function, https://reference.wolfram.com/language/ref/$SourceLink.html (updated 2019).

CMS

Wolfram Language. 2016. "$SourceLink." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2019. https://reference.wolfram.com/language/ref/$SourceLink.html.

APA

Wolfram Language. (2016). $SourceLink. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$SourceLink.html

BibTeX

@misc{reference.wolfram_2024_$sourcelink, author="Wolfram Research", title="{$SourceLink}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/$SourceLink.html}", note=[Accessed: 21-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_$sourcelink, organization={Wolfram Research}, title={$SourceLink}, year={2019}, url={https://reference.wolfram.com/language/ref/$SourceLink.html}, note=[Accessed: 21-December-2024 ]}