Understanding 'memory' (storageType) in storageType^storagePath#property #469
-
I'll explain my confusion using the following examples all of which creates a simple list with selection Example 1
This does NOT store the selection anywhere; It works exactly as expected Example 2
This creates a property named 'memory' and stores the data in that; I expected it to not create any properties, but temporarily store the data in the file (I don't know where exactly) Example 3
This temporarily stores the data somewhere WITHOUT creating a property. I added 'gibberish' because what I type there doesn't seem to matter; This is the behaviour I expected from example 2. QuestionIs this how it's supposed to work? And if so where exactly is the temporary data stored for example 3? I want to be sure that the data is only temporary and doesn't end up accumulating somewhere |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Yes, this is as expected. This docs page tries to explain it. In your second example, you only specify a property, so the storage type defaults to frontmatter. The |
Beta Was this translation helpful? Give feedback.
The reason you need the "gibberish" property is so that you can have multiple independent memory properties in the same file and you can use the property to reference it elsewhere. E.g. a
VIEW[{memory^gibberish}]
.