({{, (RefLink[SourceLink, paclet:ref/SourceLink]) 
is an option for (RefLink[CloudObject, paclet:ref/CloudObject]) and related constructs that specifies the source of the content given.}})

OpenersNotesSection(Spacer1)Details

Possible settings include:

The target of (RefLink[SourceLink, paclet:ref/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 (RefLink[SourceLink, paclet:ref/SourceLink])->(RefLink[Automatic, paclet:ref/Automatic]), (RefLink[CloudDeploy, paclet:ref/CloudDeploy]) takes the source link for the deployed cloud object to be the cloud object corresponding to the current notebook, if this exists.

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)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:

CloudDeploy[Manipulate[Plot[Sin[a x+b],{x,0,6}],{{a,2,"Multiplier"},1,4},{{b,0,"Phase Parameter"},0,10}],"sine-with-phase",SourceLink->CloudObject["sine-phase-source.nb"]]

View the source link setting:

Options[CloudObject["sine-with-phase"],SourceLink]

Deploy without a source link:

CloudDeploy[Manipulate[Plot[Sin[x(1+a x)],{x,0,6}],{a,0,2}], "sine-wave-no-source",SourceLink->None]

Confirm that there is no source link:

Options[CloudObject["sine-wave-no-source"],SourceLink]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[$SourceLink, paclet:ref/$SourceLink])  ▪  (RefLink[CloudDeploy, paclet:ref/CloudDeploy])  ▪  (RefLink[CloudObject, paclet:ref/CloudObject])  ▪  (RefLink[Hyperlink, paclet:ref/Hyperlink])  ▪  (RefLink[MetaInformation, paclet:ref/MetaInformation])  ▪  (RefLink[CopyFile, paclet:ref/CopyFile])  ▪  (RefLink[Permissions, paclet:ref/Permissions])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Managing Content in the Cloud, paclet:guide/ManagingContentInTheCloud])}, {▪(RefLinkPlain[Sharing & Embedding Content, paclet:guide/SharingAndEmbeddingContent])}})}})