I am trying to store milestones (descriptor with a date) in a list type property in the frontmatter.
My objective is to later on search for and retrieve those milestones with dataviewjs and pass the descriptor and date to a plugin (not active while testing this and no other date related plugins running right now).
I get strange results as detailed below. I could not find anything like this in the forum discussions. I’m not sure what I am doing wrong.
YearOpen in my examples below is a simple date property.
MileStonesList is the list property of concern here.
What is the correct format for putting dates in a list in frontmatter properties?
It appears as if you are trying to nest properties. That isn’t currently supported (using the Properties in document interface). Some topics below; the second one being the feature request and possibly some options to use for now.
Using this format you can query all your milestones using a simple task query searching for status = "M", and you can style the tasks however you like. And since we now are setting the date using an inline field, you could also do all kinds of date queries/manipulation.
Until Obsidian gets the long promised database stuff, this I believe would be the better option.
@ariehen Being able to group key:value sets would be really nice. Thanks for the reference to the discussion. Please add my vote for nested properties.
@holroy I had deferred on using tasks because I did not need the functionality of marking things as complete/incomplete. I will revisit tasks with your idea of decoration and the possibility of queries. This might be workable. I also see from a quick look that tasks support nesting. Thanks for the suggestion.