I have a scenario that creates an HTML page as an output. The HTML page contains a menu and the links in this menu are dynamically populated by URL parameters passed to the webhook.
The links are populated like this
https://mydomain.com/?id={{5.id}}&pageval={{5.pg}}
where Module id 5 is the webhook that receives the parameters.
the output of the above will be something like https://mydomain.com/?id=2&pageval=17
This works absolutely perfectly.
However, we now want to change which links are displayed based on certain criteria ie different users will have a different menu.
My idea was to put the menu data into a datastore and filter the data based on URL parameter data (this works). I then use an aggregator to take collate the links into a single menu that is added to the HTML page. I thought i had it nailed except for one (crucial) thing. When the aggregator takes the URL info from the datastore it doesn’t recognise {{5.id}} as "module 5, field ‘id’ " it simply adds the text to the URL so the output is https://mydomain.com/?id={{5.id}}&pageval={{5.pg}}
My question is how do i get it to recognise that i want to use the actual value of {{5.id}} and not
the text “{{5.id}}”
Does that make sense?