Partials - Using Server Connect for filename

Is it possible to use a server connect value as a filename for a partial? Basically I’m trying to create a dashboard with configurable components being displayed with different partials based on the dashboard component required.

Something like :

<%- await include({{svrconnect_dashboard_components.data.qry_dashboard[$index].dashboard_type_location}}, Object.assign({}, locals)) %>

I’ve tried several formats and I can’t seem to get it to work. Any help would be appreciated.

Community Page
Last updated: