({{, (RefLink[CloudObjectNameFormat, paclet:ref/CloudObjectNameFormat]) 
is an option for (RefLink[CloudObject, paclet:ref/CloudObject]) and related objects that determines how the name portion of the URL for the object should be formatted.}})

OpenersNotesSection(Spacer1)Details

(RefLink[CloudObjectNameFormat, paclet:ref/CloudObjectNameFormat]) is only used to format the URL in the (RefLink[CloudObject, paclet:ref/CloudObject]) expression; it does not change the object in any way.

Possible settings include:

Anonymous cloud objects do not have a path, so only the "UUID" setting can be applied to them.

(RefLink[$CloudObjectNameFormat, paclet:ref/$CloudObjectNameFormat]) gives the default setting for the (RefLink[CloudObjectNameFormat, paclet:ref/CloudObjectNameFormat]) option.

OpenersPrimaryExamplesSection(Spacer1)Examples  (2)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

Create a named cloud object and format its name with the value of (RefLink[$UserURLBase, paclet:ref/$UserURLBase]):

CloudPut[42,"nameFormat.wl",CloudObjectNameFormat->"UserURLBase"]

Create a named cloud object and use (RefLink[$CloudUserUUID, paclet:ref/$CloudUserUUID]) for the URL format:

CloudPut[42,"nameFormatByUserUUID.wl",CloudObjectNameFormat->"CloudUserUUID"]

Create a named cloud object but use the UUID URL format:

CloudPut[42,"nameFormatByUUID.wl",CloudObjectNameFormat->"UUID"]

OpenersExampleSection1(Spacer1)Scope  (1)

Transform a (RefLink[CloudObject, paclet:ref/CloudObject]) in one name format into another format:

obj=CloudPut[42,"nameFormatByURLBase.wl"]
obj2=CloudObject[obj,CloudObjectNameFormat->"UUID"]

An anonymous cloud object can only use the UUID name format and cannot be transformed into a format that requires a name:

CloudPut[42,CloudObjectNameFormat->"UserURLBase"]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[CloudObject, paclet:ref/CloudObject])  ▪  (RefLink[$CloudObjectNameFormat, paclet:ref/$CloudObjectNameFormat])  ▪  (RefLink[$UserURLBase, paclet:ref/$UserURLBase])  ▪  (RefLink[$CloudUserID, paclet:ref/$CloudUserID])  ▪  (RefLink[$CloudUserUUID, paclet:ref/$CloudUserUUID])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Managing Content in the Cloud, paclet:guide/ManagingContentInTheCloud])}})}})