On the desktop, the default value of the persistence search path, $PersistencePath, does not include the cloud. Here is how to add it.

For a Kernel Session...

Add "Cloud" to the list of locations in $PersistencePath:

In[1]:=
Click for copyable input
Out[1]=

For a Front End Session...

Set up $PersistencePath to be initialized to a value that includes the "Cloud" location in new front end sessions:

In[2]:=
Click for copyable input
Out[2]=

Run the initialization and check the value of $PersistencePath:

In[3]:=
Click for copyable input
Out[3]=
  • Any new kernel started under the same front end session will perform this initialization automatically.
  • When the front end quits, the initialization is lost.

Permanently...

Set up $PersistencePath so that it is always initialized to a value that includes "Cloud":

In[4]:=
Click for copyable input
Out[4]=

Run the initialization and check the value of $PersistencePath:

In[5]:=
Click for copyable input
Out[5]=
  • Any new kernel started under the same desktop user account will perform this initialization automatically.
  • The initialization is permanently stored in your home directory.

Notes

Adding "Cloud" to $PersistencePath will add noticeable delays to all persistence and initialization commands.
All existing initializations for $PersistencePath can be removed with the following:
In[6]:=
Click for copyable input
In the cloud and on mobile, "Cloud" is contained in $PersistencePath by default.