CloudPublish
✖
CloudPublish
publishes to the specified location relative to the user's current cloud directory.
Details and Options


- CloudPublish works from both desktop and cloud.
- CloudPublish returns the CloudObject that was published.
- CloudPublish[expr,…] supports the same forms of expr as CloudDeploy[expr,…].
- CloudPublish by default adds AllAutomatic to the permissions for the published cloud object.
- CloudPublish by default adds AutoCopyTrue to the options for the published cloud object.
- CloudPublish also supports the following options:
-
AppearanceElements All control the page appearance AutoCopy True whether to make a copy when opened AutoRemove False whether to schedule the object for deletion CachePersistence Automatic controls the time duration for which an object is cached by a client CloudBase Automatic cloud to which to publish CloudObjectNameFormat Automatic format to use for the name portion of the URL CloudObjectURLType Automatic base type of URL to use (obj, env, ...) EvaluationPrivileges Automatic privileges of evaluations by the object IconRules Automatic icons to use for the deployed object IncludeDefinitions True whether to automatically include dependencies Magnification Automatic magnification to use for the published notebook MetaInformation {} metainformation for the deployed object Permissions {AllAutomatic} explicit permissions for the published object SourceLink Automatic object to be linked as the source - With the default setting SourceLinkAutomatic, CloudPublish sets the source link for the published cloud object to be the cloud object corresponding to the current notebook. If no such cloud object exists, it sets the source link to None.
- With IncludeDefinitionsTrue, CloudPublish[expr,…] automatically deploys all definitions needed to evaluate expr. With IncludeDefinitionsFalse, the evaluation of expr must explicitly evaluate all definitions that are needed.
- With the default setting MagnificationAutomatic, CloudPublish ignores any Magnification setting in the source document and uses a 100% magnification in the published notebook. With MagnificationInherited, the magnification of the source document is preserved.
- The Publish button in the cloud and the Publish to Cloud... menu item in desktop follow the behavior and options of CloudPublish.
Examples
open allclose allBasic Examples (3)Summary of the most common use cases
Publish a Manipulate expression to a new anonymous cloud object:

https://wolfram.com/xid/0g7e5bpo9zq-i3c9p7

The published object has public permissions with AutoCopy set to True:

https://wolfram.com/xid/0g7e5bpo9zq-loiwe0

Publish an expression with a name:

https://wolfram.com/xid/0g7e5bpo9zq-f42bkj


https://wolfram.com/xid/0g7e5bpo9zq-5arey7

Publish a copy of the private object:

https://wolfram.com/xid/0g7e5bpo9zq-z42a70

Confirm that the copied object has public permissions:

https://wolfram.com/xid/0g7e5bpo9zq-bpnr94

Scope (3)Survey of the scope of standard use cases

https://wolfram.com/xid/0g7e5bpo9zq-bex6pd

https://wolfram.com/xid/0g7e5bpo9zq-mhznq3


https://wolfram.com/xid/0g7e5bpo9zq-265kmd

https://wolfram.com/xid/0g7e5bpo9zq-nkyub9


https://wolfram.com/xid/0g7e5bpo9zq-zbsi5

Options (12)Common values & functionality for each option
AppearanceElements (1)
AutoCopy (1)
Do not set AutoCopy during CloudPublish:

https://wolfram.com/xid/0g7e5bpo9zq-rxq0hs


https://wolfram.com/xid/0g7e5bpo9zq-qo2uuy

AutoRemove (1)
CloudBase (1)
Specify a CloudBase during CloudPublish:

https://wolfram.com/xid/0g7e5bpo9zq-zguvd6

CloudObjectNameFormat (1)
Create a named cloud object and use $CloudUserUUID for the CloudObjectNameFormat:

https://wolfram.com/xid/0g7e5bpo9zq-u7fzjn

Create a named cloud object and use $CloudUserID for the CloudObjectNameFormat:

https://wolfram.com/xid/0g7e5bpo9zq-ba5z8z

CloudObjectURLType (1)
Publish a cloud object with a link to its editing environment view as specified by CloudObjectURLType:

https://wolfram.com/xid/0g7e5bpo9zq-fpyl1b

Publish a cloud object with a link to its deployed object view:

https://wolfram.com/xid/0g7e5bpo9zq-5di3u8

IconRules (1)
IncludeDefinitions (1)
Exclude definitions associated with the published expression from the current kernel session; instead, load the definitions from a file during evaluation:

https://wolfram.com/xid/0g7e5bpo9zq-w4q85x

https://wolfram.com/xid/0g7e5bpo9zq-smvgkj


https://wolfram.com/xid/0g7e5bpo9zq-h3q3qa

Magnification (1)
Preserve the magnification of the source document during CloudPublish:

https://wolfram.com/xid/0g7e5bpo9zq-t42gio


https://wolfram.com/xid/0g7e5bpo9zq-y05zxr

MetaInformation (1)
Permissions (1)
Permissions provides a way to restrict access to a specific user or group of users.
Create a new PermissionsGroup. Add more users by adding their $CloudUserID to the list:

https://wolfram.com/xid/0g7e5bpo9zq-i2otml

Use CloudPublish to publish any object with the specified access permissions:

https://wolfram.com/xid/0g7e5bpo9zq-dyxmel


https://wolfram.com/xid/0g7e5bpo9zq-k8l87c

SourceLink (1)
Do not set a source link during CloudPublish:

https://wolfram.com/xid/0g7e5bpo9zq-by91ft


https://wolfram.com/xid/0g7e5bpo9zq-hboedt

Properties & Relations (1)Properties of the function, and connections to other functions
CloudPublish is equivalent to CloudDeploy with automatic Permissions for all users and AutoCopy enabled:

https://wolfram.com/xid/0g7e5bpo9zq-i8vylf


https://wolfram.com/xid/0g7e5bpo9zq-vnc9zf

Wolfram Research (2015), CloudPublish, Wolfram Language function, https://reference.wolfram.com/language/ref/CloudPublish.html (updated 2020).
Text
Wolfram Research (2015), CloudPublish, Wolfram Language function, https://reference.wolfram.com/language/ref/CloudPublish.html (updated 2020).
Wolfram Research (2015), CloudPublish, Wolfram Language function, https://reference.wolfram.com/language/ref/CloudPublish.html (updated 2020).
CMS
Wolfram Language. 2015. "CloudPublish." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2020. https://reference.wolfram.com/language/ref/CloudPublish.html.
Wolfram Language. 2015. "CloudPublish." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2020. https://reference.wolfram.com/language/ref/CloudPublish.html.
APA
Wolfram Language. (2015). CloudPublish. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CloudPublish.html
Wolfram Language. (2015). CloudPublish. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CloudPublish.html
BibTeX
@misc{reference.wolfram_2025_cloudpublish, author="Wolfram Research", title="{CloudPublish}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/CloudPublish.html}", note=[Accessed: 17-April-2025
]}
BibLaTeX
@online{reference.wolfram_2025_cloudpublish, organization={Wolfram Research}, title={CloudPublish}, year={2020}, url={https://reference.wolfram.com/language/ref/CloudPublish.html}, note=[Accessed: 17-April-2025
]}