is an option for cloud expressions that controls which parts of their structure can be changed.
- The setting for PartProtection specifies which parts of lists and associations in a cloud expression are protected from being modified in place.
- Possible settings include:
Automatic only individual elements can be changed All nothing in the expression can be changed None everything can be changed
- When a change is attempted on a part of a cloud expression not allowed by the setting of PartProtection, a Failure object is returned.
- With the setting PartProtection->All, deleting the cloud expression using DeleteCloudExpression and resetting its value with Put are still allowed.
Basic Examples (2)
Create a CloudExpression storing a scoreboard:
Set the part protection to None and try again:
Wolfram Research (2016), PartProtection, Wolfram Language function, https://reference.wolfram.com/language/ref/PartProtection.html.
Wolfram Language. 2016. "PartProtection." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/PartProtection.html.
Wolfram Language. (2016). PartProtection. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/PartProtection.html