Since I don't quite know what you're trying to accomplish, I've put together a version that will append braces, though using a slightly different approach. See attached for field values.
<$vars lc="{{" rc="}}"
tiddlername={{!!tiddlername}}
fieldname={{!!fieldname}}
>
<$vars listreference={{{ [<tiddlername>addprefix<lc>addsuffix[!!]addsuffix
<fieldname>addsuffix<rc>] }}} >
<$button>Add to my list
<$action-listops $field="mylist" $subfilter=<<listreference>>/>
</$button>
</$vars>
</$vars>
On Sunday, March 22, 2020 at 5:36:38 PM UTC-7, Mark S. wrote:
>
> I don't know about the advisability of a list field with all
> transclusions, but this worked right out of the box:
>
> <$button>Add to my list
> <$action-listops $field="mylist" $subfilter="{{tiddler3!!otherfield}}"/>
> </$button>
>
> On Sunday, March 22, 2020 at 4:14:03 PM UTC-7, TonyM wrote:
>>
>> Folks,
>>
>> I am enhancing an app and would like to select from a tiddler/fieldname
>> pair available and add it to a list field
>>
>> The list field selected-lists will subsequently look like this
>> {{tiddler1!!fieldname1}} {{tiddler2!!fieldnameA}} {{tiddler2!!fieldnameB
>> }}
>>
>> I now I will need to subsequently reorder, add and remove items from this
>> list but they are not traditional titles
>>
>> - Has anyone done something like this before
>> - Can the list ops operators help in this format
>> - Should I instead store [[tiddlername1!!fieldname1]]?
>>
>> Once populated I use the selected-lists field to provide input to a
>> list/table of all instances, contained in all named lists.
>>
>> Your guidance would be appreciated
>>
>> Regards
>> Tony
>>
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/4212b256-72c6-4438-8f72-10097d4b8e0d%40googlegroups.com.
listreference.json
Description: application/json

