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!