Hi Adela,
I am not sure what the most preferred answer, but my current template uses %i
and has been working fine after updating org-roam.
Please see below for the template I use that includes %i
:
("s" "Slip" plain #'org-roam-capture--get-point
"** Body
:PROPERTIES:
:VISIBILITY: all
:END:
%i%?
** Where From
:PROPERTIES:
:VISIBILITY: folded
:END:
** Links
:PROPERTIES:
:VISIBILITY: folded
:END:
** Tags
:PROPERTIES:
:VISIBILITY: folded
:END:
"
:file-name "%(jpr-org-roam-slip-name)-${slug}"; the way you put functions into this keyword is to put a '%' before the opening parenthesis, enclosed within a string
:head "#+title: ${title}\n#+roam_alias: \n#+roam_tags: \n\n#+PROPERTY: Slip_ID NNNN\n#+PROPERTY: Firstness 50\n#+PROPERTY: DATE %<%Y-%m-%d %H%M>\n\n"
:unnarrowed t)
If you’re interested in what I was doing with (jpr-org-roam-slip-name)
in the file name, check out this post explaining the problem I had and how I solved it.