return path;
}
private void renderDatasource(StringBuilder out, CggRunJsDashboardWriteContext context, GenericComponent comp) throws ThingWriteException
{
Dashboard dash = context.getDashboard();
String dataSourceName = comp.tryGetPropertyValue("dataSource", null);
if(StringUtils.isNotEmpty(dataSourceName))
{
DataSourceComponent dsComp = dash.getDataSource(dataSourceName);
IThingWriterFactory factory = context.getFactory();
IThingWriter dsWriter;
try
{