How to trigger query manually with dynamic data?

Hey @tamph.ptf! Happy to help here.

additionalScope is definitely the way to pass dynamic values into a query when you trigger it.

Looking at your index query, it seems like you're almost there!

The additionalScope object should look something more like

...

additionalScope: {

date: new Date()

}

...

Here's a community post that goes over additionalScope with a couple more examples! Let me know if you have any questions at all :blush:

1 Like