farling42 / obsidian-import-json

Plug-in for Obsidian.md which will create Notes from JSON files
MIT License
85 stars 5 forks source link

A question about "Field to use as Note name" #20

Closed seed78 closed 2 years ago

seed78 commented 2 years ago

When opening the JSON CVS importer, I can define which field to use as Note name. However, how can I add @, for example, in front of the name?

The field in JSON is citationkey. But, I want the name of a note as @citationkey.

farling42 commented 2 years ago

It isn't possible to add anything to the note name via this module. It will always just use the value of a field as a note name.

farling42 commented 2 years ago

There might be other ways of adding "@" as a prefix to all the notes in a single directory, maybe even something outside of obsidian and simply a script that runs at the OS level?

seed78 commented 2 years ago

Got it! Thank you!

farling42 commented 2 years ago

Is "@" allowed in file names in your OS? (Windows or Mac?)

seed78 commented 2 years ago

yes, I use Windows 10 and it seems allow me to use @ in front of a file name. Thanks for asking.

If the coming version of the JSON/CVS importer can allow the combination of any editing of a Note's name with "Field", it would be very helpful. Some symbol in front of a note's name helps sorting or finding the note with a particular grouping by the symbol.

Thank you aging for the help! I like this Importer.

farling42 commented 2 years ago

Optional Prefix and/or Suffix for Note (file)names have been added in version 0.20.0

seed78 commented 2 years ago

I have updated to 0.20.0. It works perfectly!!