Get TFile or full path from note name
const name = 'Some note name'
const file = app.metadataCache.getFirstLinkpathDest(name, '')
console.log(file.path)
Jun 15, 20241 min read
const name = 'Some note name'
const file = app.metadataCache.getFirstLinkpathDest(name, '')
console.log(file.path)