Hi,
I've a field named "filtre_domaine" with value tag[AÀP] and a second one
named "filtre_institution" with value field:institution[CLARA]
I would like to "inject" these values into a visjstimeline widget
The following doesn't work :
<$visjstimeline filter=[{{!!filtre_domaine}}{{!!filtre_institution}}]
startDateField="date-debut" endDateField="date-fin" format="YYYY-MM-DD"
groupField="institution" boxing="auto" navpad />
so I guess I've to create a macro to concatenate the fields values:
\define concatenate_filter() [{{!!filtre_domaine}}{{!!filtre_institution}}]
The "result" of the macro is fine: when I call <<concatenate_filter>> I get
tag[AÀP]field:institution[CLARA]]
and if I copy/paste this litteral result into the widget, the Gantt chart
is ok.
But it doesn't work when I try to call the macro inside the widget:
<$visjstimeline filter=<<concatenate_filter>> startDateField="date-debut"
endDateField="date-fin" format="YYYY-MM-DD" groupField="institution"
boxing="auto" navpad />. I get "Filter error: Missing [ in filter
expression" but I dont' undertand why…
Thanks!
--
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/fe51704b-9401-4efd-b4f6-c7650fe6113an%40googlegroups.com.