You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello
I would like to create fields in my daily note template that allow me to add/remove options to a list property. Meta Bind makes this very easy, which is great, however I'd like to be able to allow for the list of options to dynamically grow and change over time in a way that will let all previous daily notes have access to those options, update any renamed options, and give the option to delete all of an option from the property in all notes or just delete it as an option and leave it on all notes, rather than needing to rewrite the hardcoded options in a daily notes template and have only the new notes have the new options.
It seems I can do some of what I want in a clunky way, by maintaining a folder full of empty notes titled as the options and using INPUT[inlineListSuggester(optionQuery("path/to/folder"),useLinks(true)):exampleProperty]
That lets me have a dynamic list of options that can dynamically change and delete an option without deleting it from any note property. However, I'd really rather not have a folder full of blank notes (or use a folder with notes I'm using that I may forget that it's using and move around or otherwise accidentally break ^^) and I'd rather not be using links as I'm not sure how that will interact with other things when I want to do something like make charts based on properties.
I'd ideally like to do this by having Meta Bind create the list of options from the contents of a note or in a custom setting, so that I can maintain the list of options I want to appear in an input pointed to it. I think it's likely impossible for me to figure out how to do parts where things can be renamed or mass deleted with the js things, but I haven't been able to figure out how to get it to just create a list of options via a note's content either.
I've done a bunch of searching and mainly found other people asking similar questions and not any sort of answer. I've looked at the advanced use case of using a property to dynamically set the options, but haven't been able to figure out whether this can be adapted to pull the contents of a note.
I'm new to obsidian and js, so please go easy on me if this is something that is definitely not possible or I missed something obvious!
Thanks so much!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello
I would like to create fields in my daily note template that allow me to add/remove options to a list property. Meta Bind makes this very easy, which is great, however I'd like to be able to allow for the list of options to dynamically grow and change over time in a way that will let all previous daily notes have access to those options, update any renamed options, and give the option to delete all of an option from the property in all notes or just delete it as an option and leave it on all notes, rather than needing to rewrite the hardcoded options in a daily notes template and have only the new notes have the new options.
It seems I can do some of what I want in a clunky way, by maintaining a folder full of empty notes titled as the options and using
INPUT[inlineListSuggester(optionQuery("path/to/folder"),useLinks(true)):exampleProperty]
That lets me have a dynamic list of options that can dynamically change and delete an option without deleting it from any note property. However, I'd really rather not have a folder full of blank notes (or use a folder with notes I'm using that I may forget that it's using and move around or otherwise accidentally break ^^) and I'd rather not be using links as I'm not sure how that will interact with other things when I want to do something like make charts based on properties.
I'd ideally like to do this by having Meta Bind create the list of options from the contents of a note or in a custom setting, so that I can maintain the list of options I want to appear in an input pointed to it. I think it's likely impossible for me to figure out how to do parts where things can be renamed or mass deleted with the js things, but I haven't been able to figure out how to get it to just create a list of options via a note's content either.
I've done a bunch of searching and mainly found other people asking similar questions and not any sort of answer. I've looked at the advanced use case of using a property to dynamically set the options, but haven't been able to figure out whether this can be adapted to pull the contents of a note.
I'm new to obsidian and js, so please go easy on me if this is something that is definitely not possible or I missed something obvious!
Thanks so much!
Beta Was this translation helpful? Give feedback.
All reactions