CloudPublish
makes a public copy in the cloud of the current document.
CloudPublish[obj]
makes a public copy of the cloud object obj.
CloudPublish[expr]
deploys an expression to the cloud and makes it public.
CloudPublish[content,location]
publishes to the specified location relative to the user's current cloud directory.
CloudPublish[content,CloudObject[…]]
publishes to the specified cloud object.
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)
Publish a Manipulate expression to a new anonymous cloud object:
The published object has public permissions with AutoCopy set to True:
Publish an expression with a name:
Options (12)
AppearanceElements (1)
AutoCopy (1)
Do not set AutoCopy during CloudPublish:
CloudBase (1)
Specify a CloudBase during CloudPublish:
CloudObjectNameFormat (1)
Create a named cloud object and use $CloudUserUUID for the CloudObjectNameFormat:
Create a named cloud object and use $CloudUserID for the CloudObjectNameFormat:
CloudObjectURLType (1)
Publish a cloud object with a link to its editing environment view as specified by CloudObjectURLType:
Publish a cloud object with a link to its deployed object view:
IconRules (1)
IncludeDefinitions (1)
Magnification (1)
Preserve the magnification of the source document during CloudPublish:
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:
Use CloudPublish to publish any object with the specified access permissions:
SourceLink (1)
Do not set a source link during CloudPublish:
Properties & Relations (1)
CloudPublish is equivalent to CloudDeploy with automatic Permissions for all users and AutoCopy enabled:
Text
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.
APA
Wolfram Language. (2015). CloudPublish. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CloudPublish.html