我们正在尝试连接atoti多维数据集,就像在Active UI前端的env.js上那样。
window.env = {
contentServerVersion: "5.11.x",
contentServerUrl: "https://activepivot-ranch.activeviam.com:5110",
// WARNING: Changing the keys of activePivotServers will break previously saved widgets and dashboards.
// If you must do it, then you also need to update each one's serverKey attribute on your content server.
activePivotServers: {
// You can connect to as many servers as needed.
// In practice most projects only need one.
"Ranch 5.11": {
url: "https://activepivot-ranch.activeviam.com:5110",
version: "5.11.1",
},
"Ranch 5.10": {
url: "https://activepivot-ranch.activeviam.com:5100",
version: "5.10.0",
},
"Ranch 5.9": {
url: "https://activepivot-ranch.activeviam.com:5900",
version: "5.9.4",
},
"my-server": {
url: "https://localhost:9090",
version: "5.10.x",
}
},
};但是,当我们启动前端时,我们只会给出一个错误: 404:没有找到http://localhost:9090/atoti/pivot/rest/v5/ping的资源。
发布于 2022-08-31 09:21:05
您的env.js中的URL可能不正确。通过在笔记本中运行以下命令,您可以找到正确的答案:
session.link()我们管它叫我的-url吧。那么您的env.js应该如下所示:
window.env = {
contentServerVersion: "5.10",
contentServerUrl: my-url,
activePivotServers: {
"my-server": {
url: my-url,
version: "5.10",
},
},
};您还可能必须更改version属性。这取决于您的atoti版本,如下所示:
https://stackoverflow.com/questions/73538708
复制相似问题