I am trying a more complex filter as follows:
text={{{ [[Object type: ]] [{$:/TLS/object_type}] [[<br>Date Start: ]] [{$:/TLS/date_start}] [[<br>Date end: ]] [{$:/TLS/date_end}] [{$:/TLS/date_end}] [[<p>]] [{$:/TLS/incremental}addprefix[CS]addprefix[{{]addsuffix[}}]] }}}
If I type this into the Advanced Search Filter tab, the result I get is
with when the data tiddlers are instantiated, the values for the first three items shown as well (although not in this screengrab).
which, after removing the {{{ and }}} and copying it into a new tiddler gives me the result
This, apart from the small PDF container which I can not explain, is the result I want.
However, when I add this filter into my actual code, I get the result
which is missing most of the text content
So, in the Advanced Search tab, the filter works as expected because when I copy the result, removing the {{{ and }}}, into a new tiddler it correctly display the result I am after.
This is the complete action widget code is:
<$action-createtiddler $basetitle={{$:/TLS/object_title}} tags="Items to_be_tagged" text= {{{ [[Object type: ]] [{$:/TLS/object_type}] [[<br>Date Start: ]] [{$:/TLS/date_start}] [[<br>Date end: ]] [{$:/TLS/date_end}] [{$:/TLS/date_end}] [[<p>]] [{$:/TLS/incremental}addprefix[CS]addprefix[{{]addsuffix[}}]] }}} object_type={{$:/TLS/object_type}} date_start={{$:/TLS/date_start}} date_end={{$:/TLS/date_end}} object_link={{$:/TLS/object_link}}
So why is the Advanced Search tab result different from the tiddler code result?
It does not appear to be an issue of the spaces between the filter steps as removing them makes no difference.
Why is the code not working as expected? I am obviously doing something wrong in the filter but have no idea as to what.
I should also add that I am getting so far only because of @EricShulmanâs simple statement about brackets with the example of my previous filter issue. Thanks Eric, your simple statement is easily understandable.
bobj