简体   繁体   中英

create a gadget in dashboard designer of DAS WSO2

I created a tenant in WSO2 DAS and I am authenticated with that tenant. I created a stream event, when I go to the dashboard designer and try to create a gadget I get the following error.

[2016-02-11 12:08:15,207] ERROR {org.wso2.carbon.analytics.jsservice.AnalyticsJSServiceConnector} -  Failed to get the table schema for table: TT : [-1234:TT] does not exist org.wso2.carbon.analytics.datasource.commons.exception.AnalyticsTableNotAvailableException: [-1234:TT] does not exist

在此处输入图片说明

This is the solution that worked for me.

Go to the file:

<DAS_HOME>/repository/deployment/server/jaggeryapps/portal/controllers/apis/analytics.jag

and change line 80 to: loggedInUser = token[USERNAME]+"@"+token["domain"];

If you created the stream by logging using tenant credentials, you need to log into Analytic Dashboards using same tenant credentials. Streams created for one tenant is not available for other tenants. According to your screenshot you have been logged using admin credentials.

我遇到了同样的问题,我使用租户凭据来访问仪表板设计器,当我尝试创建小工具时,我遇到了同样的问题,如果我与超级租户一起做,则可以毫无问题地创建小工具。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM