How can I access database query results inside an HTML Display component?

Hi

I’m trying to understand how to properly use database data inside an HTML Display component.

Specifically:

  • Is it possible to directly access data from a database inside an HTML Display?

  • If I bind the data as input, what is the correct syntax inside the HTML Display template?
    For example: {{input.pois}}, {{Data Source/myQuery/...}}, or something else?

My goal is to render a list of items from the database (e.g., POIs for my app) directly inside HTML with placeholder variables.

Any clarification or examples on how to do this correctly would be much appreciated!

Thanks!

You should be using a list.
Also even if you needed to use html component, you should familiarize yourself with data binding first. There is no “syntax” for templating.

You can use code component, too. That has native support for querying the db.