WORKFLOW
Add the Cloud to the Persistence Search Path
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:
AppendTo[$PersistencePath, "Cloud"]- The setting of $PersistencePath is lost when the kernel quits.
For a Front End Session...
Set up $PersistencePath to be initialized to a value that includes the "Cloud" location in new front end sessions:
InitializationValue[$PersistencePath, "FrontEndSession"] = {"KernelSession", "FrontEndSession", "Local", "LocalShared", "Cloud"}Run the initialization and check the value of $PersistencePath:
Initialize[$PersistencePath];
$PersistencePath- 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":
InitializationValue[$PersistencePath, "Local"] = {"KernelSession", "FrontEndSession", "Local", "LocalShared", "Cloud"}Run the initialization and check the value of $PersistencePath:
Initialize[$PersistencePath];
$PersistencePath- 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:
Quiet[Remove[InitializationValue[$PersistencePath, $PersistencePath]]]