is the default setting used for the CloudObjectNameFormat option when constructing a CloudObject.
$CloudObjectNameFormat
is the default setting used for the CloudObjectNameFormat option when constructing a CloudObject.
Details
- The original default setting for $CloudObjectNameFormat is usually Automatic.
- Possible settings include:
-
Automatic UUID for anonymous objects; $UserURLBase for named objects "UserURLBase" $UserURLBase and the object path "CloudUserID" $CloudUserID and the object path "CloudUserUUID" $CloudUserUUID and the object path "UUID" object UUID
Examples
open all close allBasic Examples (1)
By default, newly created named cloud objects use $UserURLBase to format the username in their URLs:
$CloudObjectNameFormatIts actual value can be obtained with $UserURLBase:
$UserURLBaseChange the name format to the user UUID:
$CloudObjectNameFormat = "CloudUserUUID"A named object uses the user UUID in the URL:
CloudObject["nameFormatExample.wl"]Possible Issues (1)
$CloudObjectNameFormat with a value of "UUID" cannot be applied if the destination is a named CloudObject that does not exist.
co = CloudPut[123, CloudObject["expression.wl"]]Check that the cloud object exists in the cloud:
FileExistsQ[co]Because it exists in the cloud, it has a known "UUID" associated with it:
CloudObject[co, CloudObjectNameFormat -> "UUID"]Here, the content of the cloud object is replaced with 456 and the URL of the cloud object is given in "UUID" form:
Block[{$CloudObjectNameFormat = "UUID"},
CloudPut[456, CloudObject["expression.wl"]]]DeleteObject[CloudObject["expression.wl"]]The named cloud object no longer exists, so the newly created cloud object is not returned in UUID format because the cloud object was created in "UserURLBase" format:
Block[{$CloudObjectNameFormat = "UUID"},
CloudPut[789, CloudObject["expression.wl"]]]DeleteObject[CloudObject["expression.wl"]]Here, the destination is not using the CloudObject constructor, so the cloud object is constructed with a UUID:
Block[{$CloudObjectNameFormat = "UUID"},
CloudPut[789, "expression.wl"]]Related Guides
History
Text
Wolfram Research (2019), $CloudObjectNameFormat, Wolfram Language function, https://reference.wolfram.com/language/ref/$CloudObjectNameFormat.html.
CMS
Wolfram Language. 2019. "$CloudObjectNameFormat." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$CloudObjectNameFormat.html.
APA
Wolfram Language. (2019). $CloudObjectNameFormat. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$CloudObjectNameFormat.html
BibTeX
@misc{reference.wolfram_2026_$cloudobjectnameformat, author="Wolfram Research", title="{$CloudObjectNameFormat}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/$CloudObjectNameFormat.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_$cloudobjectnameformat, organization={Wolfram Research}, title={$CloudObjectNameFormat}, year={2019}, url={https://reference.wolfram.com/language/ref/$CloudObjectNameFormat.html}, note=[Accessed: 13-June-2026]}