CloudExport

CloudExport[expr,"format"]

exports expr to a new anonymous cloud object in the specified format.

CloudExport[expr,"format","uri"]

exports to a cloud object at a given URI.

CloudExport[expr,"format",CloudObject["uri"]]

exports to a given cloud object.

Details and Options

Examples

open allclose all

Basic Examples  (2)

Export an image to the cloud:

Export to a named cloud object:

Scope  (1)

Export to a named cloud object specified by a string:

Export to a named cloud object specified by a CloudObject:

Export to a named cloud object specified by a URL:

Options  (3)

CachePersistence  (1)

Export an image that will be cached in the browser with a default cache timeout of 60 seconds:

Check the value of the "cache-control" header from the response:

Change the time duration so that the object will be cached for a day:

AutoCopy  (1)

AutoCopy is False by default:

Change AutoCopy to True:

Open the cloud object in environment view and click the link "Create a copy of this file" to make a copy:

SourceLink  (1)

Export an image with a cloud object given as the source:

View the source link:

Applications  (1)

Export a list of all countries as a CSV file on the Wolfram Cloud:

The data can be imported using CloudImport:

Possible Issues  (1)

Using CloudExport 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 text, 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:

Wolfram Research (2014), CloudExport, Wolfram Language function, https://reference.wolfram.com/language/ref/CloudExport.html (updated 2019).

Text

Wolfram Research (2014), CloudExport, Wolfram Language function, https://reference.wolfram.com/language/ref/CloudExport.html (updated 2019).

CMS

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

APA

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

BibTeX

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

BibLaTeX

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