How to get current block id/uuid in advance query?

Hello, I’m very new to Logseq, Today I try to create a reusable query template that use current block’s children as input but I failed.

My Query

GIF 2022-6-26 23-50-58

I created a rating component, but the real rating number needs to be put in the page’s properties.

If we can get current block, the number can be put in query block’s child block, that will make the component better.

For now, we can have :current-page in inputs to get current page title, do we have a similar keyword to get current block id?

1 Like