CloudPut

CloudPut[expr]

writes expr to a new anonymous cloud object.

CloudPut[expr,"uri"]

writes expr to a cloud object at a given URI.

CloudPut[expr,CloudObject["uri"]]

writes expr to a given cloud object.

Details and Options

Examples

open allclose all

Basic Examples  (2)

Save a computed value in an unnamed cloud object:

Retrieve the value:

Save a named cloud object:

Scope  (2)

Save a named cloud object specified by a string:

Save a named cloud object specified by a CloudObject:

Save a named cloud object specified by a URL:

Save an unevaluated expression:

The expression has been stored in unevaluated form:

The expression evaluates each time it is read:

Options  (6)

CloudBase  (1)

Write an expression to a different cloud:

CloudObjectNameFormat  (1)

Write to a cloud object and return the URL in the user UUID format:

CloudObjectURLType  (1)

Write to a cloud object and return the URL in the form for opening within the cloud environment:

IncludeDefinitions  (1)

Write an unevaluated expression that depends on other symbol definitions, and include those definitions:

The object has been stored unevaluated with the definition for f:

MetaInformation  (1)

Write to a cloud object and some meta-information:

The meta-information can be read back later:

Permissions  (1)

Write to a cloud object that will require another user to be logged in to access it:

Properties & Relations  (1)

Put with a CloudObject destination is equivalent to CloudPut:

Use PutAppend with a cloud object to append an expression to a cloud object instead of completely replacing its contents as CloudPut does:

Append another expression and read all the expressions in the object:

Possible Issues  (1)

Using CloudPut for expressions like APIFunction that have special behavior in the cloud does not activate their special behavior:

Calling the cloud object does not do any computation since an expression is simply displayed using HTML, which happens to be imported as something readable by URLExecute:

In order to create a usable APIFunction, it must be deployed with CloudDeploy or CloudPublish:

Now it reads the parameters and evaluates the function when invoked, as intended:

Introduced in 2014
 (10.0)
 |
Updated in 2016
 (11.0)
2019
 (12.0)