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
%^{prop}p Prompt the user for a value for property `prop'.
A default value can be specified like this:
%^{prop|default}p.
I have tried adding %^{DISTANCE}p to the 'head' string (file+head :target type) and have tried adding to a template file. In both cases I get
Wrong type argument: stringp, nil
I have also tried to add :PROPERTIES: to my template file, but it creates two PROPERTIES blocks, the first before the head slug with ID and the 2nd after the head and before the template content.
Steps to Reproduce
Find Node, enter name
Choose custom template
Fill in prompted info, up to property prompt
Backtrace
Expected Results
New node should be created with property inserted into properties block
Actual Results
error is thrown
OR two properties blocks are created
Environment
Emacs: GNU Emacs 29.1 (build 1, aarch64-apple-darwin21.6.0, NS appkit-2113.60 Version 12.6.6 (Build 21G646))
of 2023-08-16
Framework: N/A
Org: Org mode version 9.7-pre (release_9.6.10-902-g41ff56 @ /Users/webbjd/.emacs.d/straight/build/org/)
Org-roam: v2.2.2-42-g5c06471
sqlite-connector: sqlite-builtin
The text was updated successfully, but these errors were encountered:
I have also tried to add :PROPERTIES: to my template file, but it creates two PROPERTIES blocks, the first before the head slug with ID and the 2nd after the head and before the template content.
This is because you are possibly adding the :Properties: after the title not before
Please try this template - we can even set a value without asking user input by removing the %^{Enter test value} part.
Description
documentation states
I have tried adding
%^{DISTANCE}p
to the 'head' string (file+head :target type) and have tried adding to a template file. In both cases I getWrong type argument: stringp, nil
I have also tried to add :PROPERTIES: to my template file, but it creates two PROPERTIES blocks, the first before the head slug with ID and the 2nd after the head and before the template content.
Steps to Reproduce
Backtrace
Expected Results
New node should be created with property inserted into properties block
Actual Results
Environment
of 2023-08-16
The text was updated successfully, but these errors were encountered: