Can't populate Nested YAML
LynetteCullens opened this issue · 1 comments
> First of all you're not supposed to have spaces in your properties' names
I tested it myself and created
test test
with valuetest
In the DB plugin when adding existing properties i get following recommendations:
When choosing
test-test
the corresponding testvalue gets displayed correctly in the DB viewtest test
however would not show anything.So even with spaces it's working
How would I go about getting the plugin to read a "-' in the column ID? I'm not allowed to change the ID itself because a plugin is depending on that particular format.
Edit: Specifically the nested columns under the column with a "-" in the title.
Originally posted by @LynetteCullens in #1025 (comment)
### The following does not work:
['mathLink-blocks']MKS
mathLink-blocks.MKS
[mathLink-blocks]MKS
['mathLink-blocks'].MKS
[`\"mathLink-blocks\"`]MKS
The above are syntax from various plugins that uses dataview.
When using: [\"mathLink-blocks\"]MKS
I get:
<p>TypeError: e.trim is not a function
at ol (plugin:dbfolder:208:4025)
at zFr (plugin:dbfolder:485:61919)
at bq (plugin:dbfolder:173:19608)
at Nxe (plugin:dbfolder:175:44301)
at Oxe (plugin:dbfolder:175:39992)
at tQt (plugin:dbfolder:175:39915)
at GR (plugin:dbfolder:175:39764)
at z3 (plugin:dbfolder:175:36108)
at Dxe (plugin:dbfolder:175:35054)
at D4 (plugin:dbfolder:168:59003)
at Immediate.w4 [as _onImmediate] (plugin:dbfolder:168:59403)
at process.processImmediate (node:internal/timers:476:21)</p>
Update:
After using ["mathLink-blocks"]MKS, it reverted back automatically to mathLink-blocks.MKS.
I manually changed the configuration in markdown to
mathLink-blocks.MKS:
input: text
accessorKey: mathLink-blocks
label: MKS
position: 100
skipPersist: false
isHidden: false
sortIndex: -1
nestedKey: MKS
key: mathLink-blocks
config:
enable_media_view: true
link_alias_enabled: true
media_width: 100
media_height: 100
isInline: false
task_hide_completed: true
footer_type: none
persist_changes: false
The above works
Adding a nested column using the modal produces this format:
mathLink-blocks.FPS:
input: text
accessorKey: mathLink-blocks.FPS
key: mathLink-blocks.FPS
id: mathLink-blocks.FPS
label: mathLink-blocks.FPS
position: 100
skipPersist: false
isHidden: false
sortIndex: -1
config:
enable_media_view: true
link_alias_enabled: true
media_width: 100
media_height: 100
isInline: false
task_hide_completed: true
footer_type: none
persist_changes: false
Which does not work.