$EvaluationCloudObject

$EvaluationCloudObject
gives the cloud object containing the code currently being executed.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Make a cloud deployment that echoes its source code:

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

The source code is contained in the object:

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

Visiting the URL in the cloud object echoes the source code in the object:

Introduced in 2014
(10.0)