我使用Bi-server 5.3 CE创建了pentaho仪表板。
当我打开仪表板时,我可以看到为每个仪表板加载了一些默认脚本。例如:
<script language="javascript" type="text/javascript">
Dashboards.context = {
"locale": "en_US",
"params": {},
"path": "/home/Dashboards_local/Operational_Metrics.wcdf",
"queryData": {},
"roles": [
"Administrator",
"Authenticated"
],
"serverLocalDate": 1500462041870,
"serverUTCDate": 1500442241870,
"sessionAttributes": {},
"sessionTimeout": 7200,
"user": "admin"
}
Dashboards.initialStorage = {}
</script>
<script language="javascript" type="text/javascript">
wcdfSettings = {
"title": "Operational_Metrics",
"author": "",
"description": "Operational_Metrics_V1.2",
"style": "Clean",
"widgetName": "",
"widget": false,
"rendererType": "bootstrap",
"widgetParameters": []
};
任何人都可以告诉我这个js脚本从何处加载。 模板html在pentaho中创建的仪表板位于何处。